Skip to content

Commit

Permalink
build: adjust gradle properties
Browse files Browse the repository at this point in the history
- Remove deprecated `buildconfig` property
- Disable Jetifier
- Remove unnecessary jvmargs
  • Loading branch information
WhiredPlanck committed Jan 16, 2024
1 parent caf7942 commit 5b669b8
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions gradle.properties
@@ -1,15 +1,6 @@
android.enableJetifier=true
# https://developer.android.com/build/optimize-your-build#disable-the-jetifier-flag
android.enableJetifier=false
android.useAndroidX=true

# enlarge heap size to 2GB
org.gradle.jvmargs=-Xmx2048M -XX:+UseParallelGC

# google java format jdk 17
org.gradle.jvmargs=\
--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED

android.defaults.buildfeatures.buildconfig=true

0 comments on commit 5b669b8

Please sign in to comment.