Skip to content

Commit

Permalink
Enable R8 fullMode in example for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler committed Aug 31, 2024
1 parent 2d045ce commit 202b733
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion example/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,12 @@ android {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
all {
signingConfig signingConfigs.debug
}
release {
minifyEnabled false
minifyEnabled true
proguardFiles getDefaultProguardFile("proguard-android-optimize.txt"), 'proguard-rules.pro'
}
}
compileOptions {
Expand Down
2 changes: 2 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,6 @@ POM_DEVELOPER_ID=mgod
POM_DEVELOPER_NAME=Marshall Weir
android.useAndroidX=true
android.enableJetifier=false
# Enable R8 full mode.
android.enableR8.fullMode=true
org.gradle.jvmargs=-Xmx4096m "-XX:MaxMetaspaceSize=512m"

0 comments on commit 202b733

Please sign in to comment.