Init
This commit is contained in:
48
build.gradle.kts
Normal file
48
build.gradle.kts
Normal file
@@ -0,0 +1,48 @@
|
||||
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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user