17 lines
1.1 KiB
Properties
17 lines
1.1 KiB
Properties
# Standardized Configuration for JDK 17
|
|
android.useAndroidX=true
|
|
android.enableJetifier=true
|
|
kotlin.code.style=official
|
|
|
|
# JVM Arguments for JDK 17 compatibility with KAPT
|
|
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 --add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED --add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED --add-opens=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED --add-opens=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED --add-opens=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED --add-opens=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED --add-opens=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED --add-opens=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED --add-opens=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
|
|
|
|
org.gradle.parallel=true
|
|
org.gradle.caching=true
|
|
|
|
# Disable JDK image optimization to fix jlink.exe error on Windows
|
|
android.experimental.enableJdkImageOptimization=false
|
|
|
|
# Force KAPT to run in the Gradle Daemon process to inherit JVM args
|
|
kapt.use.worker.api=false
|