Skip to content

Commit 35e53ef

Browse files
committed
🔧 [gradle] 配置 Gradle 性能和 Kotlin 代码风格
- 添加 JVM 参数以优化 Gradle 性能 - 启用并行构建、缓存和配置缓存 - 设置 Kotlin 代码风格为官方标准 - 启用增量编译并配置 Kotlin 守护进程 - 启用 Dokka 插件的实验模式
1 parent 953aec4 commit 35e53ef

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,5 +73,3 @@ TODO.*
7373

7474
### AI Coder ###
7575
/.claude/
76-
77-
/gradle.properties

gradle.properties

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g -XX:+UseG1GC
2+
org.gradle.parallel=true
3+
org.gradle.caching=true
4+
org.gradle.configuration-cache=true
5+
6+
kotlin.code.style=official
7+
kotlin.incremental=true
8+
kotlin.daemon.jvmargs=-Xmx1g
9+
org.jetbrains.dokka.experimental.gradle.pluginMode=V2Enabled

0 commit comments

Comments
 (0)