Skip to content

Commit 48b3bff

Browse files
committed
Version 6.2.1
Enable proguard for sample to fix verification error in AndoridX Work.
1 parent 11f8e78 commit 48b3bff

File tree

4 files changed

+8
-22
lines changed

4 files changed

+8
-22
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ It can be installed by adding the following dependency to your `build.gradle` fi
4747
```groovy
4848
dependencies {
4949
// For AndroidX enabled projects.
50-
implementation 'com.pranavpandey.android:dynamic-support:6.2.0'
50+
implementation 'com.pranavpandey.android:dynamic-support:6.2.1'
5151
5252
// For legacy projects.
5353
implementation 'com.pranavpandey.android:dynamic-support:1.3.0'
@@ -209,7 +209,7 @@ Pranav Pandey
209209

210210
## License
211211

212-
Copyright 2018-2022 Pranav Pandey
212+
Copyright 2018-2023 Pranav Pandey
213213

214214
Licensed under the Apache License, Version 2.0 (the "License");
215215
you may not use this file except in compliance with the License.

build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2018-2022 Pranav Pandey
2+
* Copyright 2018-2023 Pranav Pandey
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -77,9 +77,9 @@ ext {
7777
mavenDir = 'com/pranavpandey/android'
7878
mavenArtifactId = 'dynamic-support'
7979
mavenInceptionYear = 2018
80-
mavenVersion = '6.2.0'
81-
mavenVersionCode = 34
82-
sampleVersionCode = 35
80+
mavenVersion = '6.2.1'
81+
mavenVersionCode = 35
82+
sampleVersionCode = 36
8383

8484
developerId = 'pranavpandey'
8585
developerName = 'Pranav Pandey'

sample/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ android {
3535

3636
buildTypes {
3737
release {
38-
minifyEnabled false
38+
shrinkResources true
39+
minifyEnabled true
3940
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
4041
}
4142
}

sample/proguard-rules.pro

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,3 @@
1919
# If you keep the line number information, uncomment this to
2020
# hide the original source file name.
2121
#-renamesourcefileattribute SourceFile
22-
23-
# Ignore support warnings.
24-
-dontwarn android.support.**
25-
26-
# Keep methods in Activity that could be used in the XML.
27-
-keepclassmembers class * extends android.app.Activity {
28-
public void *(android.view.View);
29-
}
30-
-keep public class * extends android.app.Application
31-
32-
# Keep support library classes.
33-
-keep class android.support.v4.view.** { *; }
34-
-keep class android.support.v7.widget.** { *; }
35-
-keep class android.support.design.widget.** { *; }
36-
-keep class android.support.design.internal.** { *; }

0 commit comments

Comments
 (0)