28 lines
880 B
Kotlin
28 lines
880 B
Kotlin
plugins {
|
|
kotlin("jvm") version "2.1.20"
|
|
id("org.jetbrains.intellij.platform") version "2.5.0"
|
|
}
|
|
group = "studio.tongtong"
|
|
version = "0.1.4"
|
|
repositories {
|
|
mavenCentral()
|
|
intellijPlatform { defaultRepositories() }
|
|
}
|
|
dependencies {
|
|
intellijPlatform {
|
|
// Override with -PstudioPath="..." to use an installed Android Studio.
|
|
val studioPath = providers.gradleProperty("studioPath").orNull
|
|
if (studioPath != null) local(studioPath) else intellijIdeaCommunity("2024.3.5")
|
|
}
|
|
implementation("com.google.code.gson:gson:2.12.1")
|
|
testImplementation("junit:junit:4.13.2")
|
|
}
|
|
kotlin { jvmToolchain(21) }
|
|
// Settings live in a tool window; no IDE Settings configurable needs indexing.
|
|
tasks.named("buildSearchableOptions") { enabled = false }
|
|
intellijPlatform {
|
|
pluginConfiguration {
|
|
ideaVersion { sinceBuild = "243" }
|
|
}
|
|
}
|