plugins { kotlin("jvm") version "2.1.20" id("org.jetbrains.intellij.platform") version "2.5.0" } group = "studio.tongtong" version = "0.8.1" 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" } } }