Skip to content

Commit 2f0d994

Browse files
committed
test: github action
1 parent d33c9f5 commit 2f0d994

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

build.gradle.kts

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,15 @@ dependencies {
1616
}
1717

1818
intellij {
19-
// 使用本地已安装的 IntelliJ IDEA,避免远程下载
20-
localPath.set("/Applications/IntelliJ IDEA.app/Contents")
21-
// type.set("IC")
19+
// CI 环境使用远程下载指定平台(避免依赖本机 IDEA 路径)
20+
type.set("IC")
21+
version.set("2024.1")
2222
downloadSources.set(false)
2323
plugins.set(listOf("com.intellij.java"))
24-
// 不自动写入 since/until 到 plugin.xml,由我们手动控制
2524
updateSinceUntilBuild.set(false)
26-
// 添加配置以解决Gradle兼容性问题
2725
pluginName.set("zy-language-support")
28-
// version.set("2024.1.3")
26+
// 支持 2024 和 2025 年版本
27+
sameSinceUntilBuild.set(false)
2928
}
3029

3130
tasks {
@@ -43,7 +42,7 @@ tasks {
4342

4443
patchPluginXml {
4544
sinceBuild.set("241")
46-
untilBuild.set("241.*")
45+
untilBuild.set("252.*")
4746
}
4847

4948
runIde {

0 commit comments

Comments
 (0)