2023-09-17 00:37:58 -07:00
|
|
|
import gay.pizza.pork.buildext.AstCodegenType
|
|
|
|
|
2023-09-10 01:27:53 -04:00
|
|
|
plugins {
|
2025-03-16 23:48:04 -07:00
|
|
|
id("org.jetbrains.intellij.platform") version "2.3.0"
|
2023-09-10 01:27:53 -04:00
|
|
|
id("gay.pizza.pork.module")
|
2023-09-17 00:37:58 -07:00
|
|
|
id("gay.pizza.pork.ast")
|
2023-09-10 01:27:53 -04:00
|
|
|
}
|
|
|
|
|
2024-11-30 19:48:07 -05:00
|
|
|
repositories {
|
|
|
|
intellijPlatform {
|
|
|
|
defaultRepositories()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-09-10 01:27:53 -04:00
|
|
|
dependencies {
|
2023-09-23 16:30:00 -07:00
|
|
|
implementation(project(":common"))
|
2023-09-10 01:27:53 -04:00
|
|
|
implementation(project(":parser"))
|
2024-11-30 19:48:07 -05:00
|
|
|
|
|
|
|
intellijPlatform {
|
2025-03-16 23:48:04 -07:00
|
|
|
intellijIdeaCommunity("2024.3")
|
2024-11-30 19:48:07 -05:00
|
|
|
pluginVerifier()
|
|
|
|
zipSigner()
|
|
|
|
}
|
2023-09-10 01:27:53 -04:00
|
|
|
}
|
|
|
|
|
2025-03-18 18:55:07 -07:00
|
|
|
intellijPlatform {
|
|
|
|
pluginConfiguration {
|
|
|
|
ideaVersion {
|
|
|
|
sinceBuild = "243"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-09-17 00:37:58 -07:00
|
|
|
porkAst {
|
|
|
|
astCodegenType.set(AstCodegenType.PorkIdea)
|
|
|
|
}
|
|
|
|
|
2023-09-10 01:27:53 -04:00
|
|
|
project.afterEvaluate {
|
|
|
|
tasks.buildPlugin {
|
|
|
|
exclude("**/lib/annotations*.jar")
|
|
|
|
exclude("**/lib/kotlin*.jar")
|
|
|
|
}
|
|
|
|
}
|