插件区分本机未安装 Git、目录非 Git 仓库与所有权被拒并显示具体原因;服务端提示改为“本机未提供 Git 状态”。同步文档当前版本,0.8.1 已部署 192.168.5.222 与本机,插件 38 项测试通过。
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.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" }
|
|
}
|
|
}
|