Skip to content

Commit

Permalink
adjust jvm args so that the project can be built on openjdk17 (#833)
Browse files Browse the repository at this point in the history
Awesome, thank you!
  • Loading branch information
ened authored Jul 11, 2023
1 parent bcde39e commit 2b2cdb3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,8 @@ android.useAndroidX=true
android.enableJetifier=false
android.disableAutomaticComponentCreation=true

org.gradle.jvmargs=-Xmx4g -XX:MaxPermSize=1g
org.gradle.jvmargs=-Xmx4g \
--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \
--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED \
--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED

0 comments on commit 2b2cdb3

Please sign in to comment.