Files
HytaleIntelliJPlugin/build.gradle.kts
2026-01-14 15:15:02 +01:00

49 lines
1.0 KiB
Kotlin

plugins {
id("java")
id("org.jetbrains.intellij.platform") version "2.10.2"
}
group = "dev.unlegitdqrk"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
intellijPlatform {
defaultRepositories()
}
}
// Dependencies for the plugin
dependencies {
intellijPlatform {
intellijIdea("2025.2.4")
testFramework(org.jetbrains.intellij.platform.gradle.TestFrameworkType.Platform)
// Bundled Plugins for the project (if necessary)
bundledPlugin("com.intellij.java")
bundledPlugin("com.intellij.modules.json")
bundledPlugin("org.jetbrains.idea.maven")
}
}
intellijPlatform {
pluginConfiguration {
ideaVersion {
sinceBuild = "252.25557"
}
changeNotes = """
Initial version
""".trimIndent()
}
}
tasks {
// Set JVM compatibility versions for Java 21
withType<JavaCompile> {
sourceCompatibility = "21"
targetCompatibility = "21"
options.encoding = "UTF-8"
}
}