7d064853e5
Signed-off-by: StefanMoCoAt <stefan.mo.co@gmail.com>
74 lines
2.7 KiB
Properties
74 lines
2.7 KiB
Properties
#Android
|
|
android.useAndroidX=true
|
|
android.nonTransitiveRClass=true
|
|
|
|
# Kotlin Configuration
|
|
kotlin.code.style=official
|
|
# Increased Kotlin Daemon Heap for JS Compilation + JDK 25 Warning Suppression
|
|
kotlin.daemon.jvmargs=-Xmx8g -XX:+UseParallelGC -XX:MaxMetaspaceSize=2g --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --enable-native-access=ALL-UNNAMED
|
|
kotlin.js.compiler.sourcemaps=false
|
|
|
|
# Kotlin Compiler Optimizations
|
|
kotlin.incremental=true
|
|
kotlin.incremental.multiplatform=true
|
|
kotlin.incremental.js=true
|
|
kotlin.caching.enabled=true
|
|
kotlin.compiler.execution.strategy=in-process
|
|
kotlin.stdlib.default.dependency=true
|
|
|
|
# Gradle Configuration
|
|
# Optimized for JDK 25: Added --add-opens and --enable-native-access for compiler tools
|
|
org.gradle.jvmargs=-Xmx12g -Dfile.encoding=UTF-8 -XX:+UseG1GC -XX:MaxMetaspaceSize=1g -XX:+HeapDumpOnOutOfMemoryError -Xshare:auto -Djava.awt.headless=true --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --enable-native-access=ALL-UNNAMED -Djdk.instrument.traceUsage=false
|
|
org.gradle.workers.max=12
|
|
org.gradle.vfs.watch=true
|
|
# Configuration Cache (Enabled for performance with many modules)
|
|
org.gradle.configuration-cache=true
|
|
org.gradle.configuration-cache.problems=warn
|
|
|
|
# Build Performance
|
|
org.gradle.parallel=true
|
|
org.gradle.caching=true
|
|
|
|
# Security and Reproducibility
|
|
org.gradle.dependency.verification=strict
|
|
org.gradle.dependency.locking.enabled=true
|
|
|
|
# Development
|
|
io.ktor.development=true
|
|
|
|
# IDE Configuration
|
|
kotlin.mpp.androidSourceSetLayoutVersion=2
|
|
kotlin.mpp.enableCInteropCommonization=true
|
|
org.jetbrains.kotlin.wasm.check.wasm.binary.format=false
|
|
kotlin.native.ignoreDisabledTargets=true
|
|
idea.project.settings.delegate.build.run.actions.to.gradle=true
|
|
|
|
# NPM/Yarn lifecycle
|
|
kotlin.js.yarn.ignoreScripts=false
|
|
org.jetbrains.kotlin.js.yarn.ignoreScripts=false
|
|
kotlin.js.npm.ignoreScripts=false
|
|
org.jetbrains.kotlin.js.npm.ignoreScripts=false
|
|
|
|
# Build Reporting
|
|
org.gradle.logging.level=lifecycle
|
|
kotlin.build.report.single_file=false
|
|
|
|
# Compose Experimental
|
|
org.jetbrains.compose.experimental.jscanvas.enabled=true
|
|
org.jetbrains.compose.experimental.wasm.enabled=true
|
|
|
|
# Java Toolchain
|
|
org.gradle.java.installations.auto-download=true
|
|
org.gradle.java.installations.auto-detect=true
|
|
|
|
# Feature Toggles
|
|
enableWasm=true
|
|
enableDesktop=true
|
|
dev.port.offset=0
|
|
|
|
# Dokka V2
|
|
org.jetbrains.dokka.experimental.gradle.pluginMode=V2Enabled
|
|
|
|
# Gradle 9 Workaround
|
|
kotlin.mpp.allowMultiplePluginDeclarations=true
|