51 lines
1.1 KiB
Plaintext
51 lines
1.1 KiB
Plaintext
plugins {
|
|
id("java")
|
|
id("org.jetbrains.kotlin.jvm") version "1.9.25"
|
|
id("org.jetbrains.intellij.platform") version "2.3.0"
|
|
}
|
|
|
|
group = "top.mybiwin"
|
|
version = "1.0-SNAPSHOT"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
intellijPlatform {
|
|
defaultRepositories()
|
|
}
|
|
}
|
|
|
|
// Configure Gradle IntelliJ Plugin
|
|
// Read more: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin.html
|
|
dependencies {
|
|
intellijPlatform {
|
|
create("IC", "2024.2.5")
|
|
testFramework(org.jetbrains.intellij.platform.gradle.TestFrameworkType.Platform)
|
|
|
|
// Add necessary plugin dependencies for compilation here, example:
|
|
// bundledPlugin("com.intellij.java")
|
|
}
|
|
}
|
|
|
|
intellijPlatform {
|
|
pluginConfiguration {
|
|
ideaVersion {
|
|
sinceBuild = "242"
|
|
}
|
|
|
|
changeNotes = """
|
|
Initial version
|
|
""".trimIndent()
|
|
}
|
|
}
|
|
|
|
tasks {
|
|
// Set the JVM compatibility versions
|
|
withType<JavaCompile> {
|
|
sourceCompatibility = "21"
|
|
targetCompatibility = "21"
|
|
}
|
|
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
|
|
kotlinOptions.jvmTarget = "21"
|
|
}
|
|
}
|