34 lines
700 B
Kotlin
34 lines
700 B
Kotlin
plugins {
|
||
id("org.jetbrains.kotlin.jvm")
|
||
id("org.jetbrains.intellij.platform")
|
||
}
|
||
|
||
group = "com.prepeep"
|
||
version = "1.0.0-SNAPSHOT"
|
||
|
||
repositories {
|
||
mavenCentral()
|
||
intellijPlatform {
|
||
defaultRepositories()
|
||
}
|
||
}
|
||
|
||
dependencies {
|
||
intellijPlatform {
|
||
intellijIdeaCommunity("2024.2.3")
|
||
pluginVerifier()
|
||
instrumentationTools()
|
||
}
|
||
}
|
||
|
||
intellijPlatform {
|
||
pluginConfiguration {
|
||
ideaVersion {
|
||
sinceBuild = "242"
|
||
untilBuild = "251.*"
|
||
}
|
||
}
|
||
}
|
||
|
||
// 注意: 不强制 jvmToolchain,直接使用 Gradle JVM(IDE 自带的 JBR 17/21 均可)。
|
||
// 需要的 JDK 版本: 17+(IntelliJ Platform 插件构建要求) |