feat: 初始化跨平台远程编译服务与 Android Studio 插件
This commit is contained in:
commit
9eba4556db
44 files changed
+2802
No files matched your search
@@ -0,0 +1,27 @@
|
||||
plugins {
|
||||
kotlin("jvm") version "2.1.20"
|
||||
id("org.jetbrains.intellij.platform") version "2.5.0"
|
||||
}
|
||||
group = "studio.tongtong"
|
||||
version = "0.1.2"
|
||||
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" }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user