Skip to content

Commit 81167d6

Browse files
committed
1. Added support for minifying code.
1 parent 365cc5a commit 81167d6

File tree

3 files changed

+15
-7
lines changed

3 files changed

+15
-7
lines changed

.idea/caches/build_file_checksums.ser

0 Bytes
Binary file not shown.

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/build.gradle

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,16 @@ android {
1010
defaultConfig {
1111
minSdkVersion 19
1212
targetSdkVersion 28
13-
versionCode 28 // this indicates the number of releases of library
14-
versionName "1.3.0" // this indicates the current version of library
13+
versionCode 29 // this indicates the number of releases of library
14+
versionName "1.3.1" // this indicates the current version of library
1515
}
1616
buildTypes {
1717
release {
18-
minifyEnabled false
18+
minifyEnabled true
19+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
20+
}
21+
debug {
22+
minifyEnabled true
1923
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
2024
}
2125
}
@@ -25,9 +29,13 @@ repositories {
2529
mavenCentral()
2630
}
2731

32+
ext {
33+
supportLibraryVersion = '28.0.0'
34+
}
35+
2836
dependencies {
2937
implementation fileTree(include: ['*.jar'], dir: 'libs')
30-
implementation 'com.android.support:appcompat-v7:28.0.0'
31-
implementation 'com.android.support:design:28.0.0'
32-
implementation 'com.android.support:cardview-v7:28.0.0'
38+
implementation "com.android.support:appcompat-v7:$supportLibraryVersion"
39+
implementation "com.android.support:design:$supportLibraryVersion"
40+
implementation "com.android.support:cardview-v7:$supportLibraryVersion"
3341
}

0 commit comments

Comments
 (0)