Skip to content

Commit

Permalink
Version 6.2.1
Browse files Browse the repository at this point in the history
Enable proguard for sample to fix verification error in
AndoridX Work.
  • Loading branch information
pranavpandey committed Mar 11, 2023
1 parent 11f8e78 commit 48b3bff
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 22 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ It can be installed by adding the following dependency to your `build.gradle` fi
```groovy
dependencies {
// For AndroidX enabled projects.
implementation 'com.pranavpandey.android:dynamic-support:6.2.0'
implementation 'com.pranavpandey.android:dynamic-support:6.2.1'
// For legacy projects.
implementation 'com.pranavpandey.android:dynamic-support:1.3.0'
Expand Down Expand Up @@ -209,7 +209,7 @@ Pranav Pandey

## License

Copyright 2018-2022 Pranav Pandey
Copyright 2018-2023 Pranav Pandey

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2018-2022 Pranav Pandey
* Copyright 2018-2023 Pranav Pandey
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -77,9 +77,9 @@ ext {
mavenDir = 'com/pranavpandey/android'
mavenArtifactId = 'dynamic-support'
mavenInceptionYear = 2018
mavenVersion = '6.2.0'
mavenVersionCode = 34
sampleVersionCode = 35
mavenVersion = '6.2.1'
mavenVersionCode = 35
sampleVersionCode = 36

developerId = 'pranavpandey'
developerName = 'Pranav Pandey'
Expand Down
3 changes: 2 additions & 1 deletion sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ android {

buildTypes {
release {
minifyEnabled false
shrinkResources true
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
Expand Down
15 changes: 0 additions & 15 deletions sample/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,3 @@
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile

# Ignore support warnings.
-dontwarn android.support.**

# Keep methods in Activity that could be used in the XML.
-keepclassmembers class * extends android.app.Activity {
public void *(android.view.View);
}
-keep public class * extends android.app.Application

# Keep support library classes.
-keep class android.support.v4.view.** { *; }
-keep class android.support.v7.widget.** { *; }
-keep class android.support.design.widget.** { *; }
-keep class android.support.design.internal.** { *; }

0 comments on commit 48b3bff

Please sign in to comment.