Skip to content

Commit c5f7ca2

Browse files
committed
introduce a consumer proguard file
1 parent 2d0faac commit c5f7ca2

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

MPChartLib/build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ android {
2525
// https://issuetracker.google.com/issues/158695880
2626
buildConfigField 'String', 'VERSION_NAME', "\"${getTag()}\""
2727

28-
consumerProguardFiles 'proguard-project.txt'
28+
consumerProguardFiles 'proguard-lib.pro'
2929
}
3030
compileOptions {
3131
sourceCompatibility JavaVersion.VERSION_17
@@ -34,7 +34,6 @@ android {
3434
buildTypes {
3535
release {
3636
minifyEnabled false
37-
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
3837
}
3938
}
4039
buildFeatures {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
-keep class com.github.mikephil.charting.** { *; }
55
-keep public class com.github.mikephil.charting.animation.* {
66
public protected *;
7-
}
7+
}

0 commit comments

Comments
 (0)