- Fix dependency versions (Retrofit 2.11, OkHttp 4.12, Compose BOM) - Add Material Components for the app theme - Add --add-exports/--add-opens for kapt on JDK 21 - Remove deprecated manifest package attr; add INTERNET permission - Add adaptive launcher icon Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
34 lines
2.0 KiB
Properties
34 lines
2.0 KiB
Properties
org.gradle.jvmargs=-Xmx2g \
|
|
--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \
|
|
--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED \
|
|
--add-exports=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED \
|
|
--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED \
|
|
--add-exports=jdk.compiler/com.sun.tools.javac.jvm=ALL-UNNAMED \
|
|
--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED \
|
|
--add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED \
|
|
--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED \
|
|
--add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED \
|
|
--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \
|
|
--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED \
|
|
--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED
|
|
android.useAndroidX=true
|
|
android.enableJetifier=false
|
|
kotlin.code.style=official
|
|
|
|
# kapt (Kotlin 1.9.x) needs access to internal javac APIs on JDK 16+.
|
|
# Without these exports the Kotlin daemon throws IllegalAccessError when
|
|
# generating annotation-processor stubs (Hilt). Applied to the Kotlin daemon.
|
|
kotlin.daemon.jvmargs=-Xmx2g \
|
|
--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \
|
|
--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED \
|
|
--add-exports=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED \
|
|
--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED \
|
|
--add-exports=jdk.compiler/com.sun.tools.javac.jvm=ALL-UNNAMED \
|
|
--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED \
|
|
--add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED \
|
|
--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED \
|
|
--add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED \
|
|
--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \
|
|
--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED \
|
|
--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED
|