2023-09-17 07:37:58 +00:00
|
|
|
import gay.pizza.pork.buildext.AstCodegenType
|
|
|
|
|
2023-09-10 05:27:53 +00:00
|
|
|
plugins {
|
2024-12-01 00:48:07 +00:00
|
|
|
id("org.jetbrains.intellij.platform") version "2.1.0"
|
2023-09-10 05:27:53 +00:00
|
|
|
id("gay.pizza.pork.module")
|
2023-09-17 07:37:58 +00:00
|
|
|
id("gay.pizza.pork.ast")
|
2023-09-10 05:27:53 +00:00
|
|
|
}
|
|
|
|
|
2024-12-01 00:48:07 +00:00
|
|
|
repositories {
|
|
|
|
intellijPlatform {
|
|
|
|
defaultRepositories()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-09-10 05:27:53 +00:00
|
|
|
dependencies {
|
2023-09-23 23:30:00 +00:00
|
|
|
implementation(project(":common"))
|
2023-09-10 05:27:53 +00:00
|
|
|
implementation(project(":parser"))
|
2024-12-01 00:48:07 +00:00
|
|
|
|
|
|
|
intellijPlatform {
|
|
|
|
intellijIdeaCommunity("2024.2")
|
|
|
|
pluginVerifier()
|
|
|
|
zipSigner()
|
|
|
|
instrumentationTools()
|
|
|
|
}
|
2023-09-10 05:27:53 +00:00
|
|
|
}
|
|
|
|
|
2023-09-17 07:37:58 +00:00
|
|
|
porkAst {
|
|
|
|
astCodegenType.set(AstCodegenType.PorkIdea)
|
|
|
|
}
|
|
|
|
|
2023-09-10 05:27:53 +00:00
|
|
|
project.afterEvaluate {
|
|
|
|
tasks.buildPlugin {
|
|
|
|
exclude("**/lib/annotations*.jar")
|
|
|
|
exclude("**/lib/kotlin*.jar")
|
|
|
|
}
|
|
|
|
}
|