Skip to content

Commit

Permalink
introduce a consumer proguard file
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesa2 committed Jan 17, 2025
1 parent 40e5daf commit 4a6beae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions MPChartLib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,15 @@ android {
// https://issuetracker.google.com/issues/158695880
buildConfigField 'String', 'VERSION_NAME', "\"${getTag()}\""

consumerProguardFiles 'proguard-project.txt'
consumerProguardFiles 'proguard-lib.pro'
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
minifyEnabled true
}
}
buildFeatures {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
-keep class com.github.mikephil.charting.** { *; }
-keep public class com.github.mikephil.charting.animation.* {
public protected *;
}
}

0 comments on commit 4a6beae

Please sign in to comment.