mirror of
https://github.com/GayPizzaSpecifications/pork.git
synced 2025-08-03 13:11:32 +00:00
upgrade everything to modern versions
This commit is contained in:
@ -1,39 +1,33 @@
|
||||
import gay.pizza.pork.buildext.AstCodegenType
|
||||
|
||||
plugins {
|
||||
id("org.jetbrains.intellij") version "1.16.1"
|
||||
id("org.jetbrains.intellij.platform") version "2.1.0"
|
||||
id("gay.pizza.pork.module")
|
||||
id("gay.pizza.pork.ast")
|
||||
}
|
||||
|
||||
repositories {
|
||||
intellijPlatform {
|
||||
defaultRepositories()
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(project(":common"))
|
||||
implementation(project(":parser"))
|
||||
|
||||
intellijPlatform {
|
||||
intellijIdeaCommunity("2024.2")
|
||||
pluginVerifier()
|
||||
zipSigner()
|
||||
instrumentationTools()
|
||||
}
|
||||
}
|
||||
|
||||
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")
|
||||
|
Reference in New Issue
Block a user