mirror of
https://github.com/GayPizzaSpecifications/pork.git
synced 2025-08-02 21:00:56 +00:00
43 lines
974 B
Plaintext
43 lines
974 B
Plaintext
import gay.pizza.pork.buildext.AstCodegenType
|
|
|
|
plugins {
|
|
id("org.jetbrains.intellij") version "1.16.0"
|
|
id("gay.pizza.pork.module")
|
|
id("gay.pizza.pork.ast")
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":common"))
|
|
implementation(project(":parser"))
|
|
}
|
|
|
|
porkAst {
|
|
astCodegenType.set(AstCodegenType.PorkIdea)
|
|
}
|
|
|
|
intellij {
|
|
pluginName.set(properties["pluginName"].toString())
|
|
version.set(properties["platformVersion"].toString())
|
|
type.set(properties["platformType"].toString())
|
|
}
|
|
|
|
tasks {
|
|
buildSearchableOptions {
|
|
enabled = false
|
|
}
|
|
|
|
patchPluginXml {
|
|
version.set(project.properties["pluginVersion"].toString())
|
|
sinceBuild.set(project.properties["pluginSinceBuild"].toString())
|
|
untilBuild.set(project.properties["pluginUntilBuild"].toString())
|
|
pluginDescription.set("Pork Language support for IntelliJ IDEs")
|
|
}
|
|
}
|
|
|
|
project.afterEvaluate {
|
|
tasks.buildPlugin {
|
|
exclude("**/lib/annotations*.jar")
|
|
exclude("**/lib/kotlin*.jar")
|
|
}
|
|
}
|