diff --git a/README.md b/README.md index 9e2e85587..2f2042360 100644 --- a/README.md +++ b/README.md @@ -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' @@ -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. diff --git a/build.gradle b/build.gradle index 60b1f5b1d..3b087f5ca 100644 --- a/build.gradle +++ b/build.gradle @@ -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. @@ -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' diff --git a/sample/build.gradle b/sample/build.gradle index 993f4e26e..74073b184 100644 --- a/sample/build.gradle +++ b/sample/build.gradle @@ -35,7 +35,8 @@ android { buildTypes { release { - minifyEnabled false + shrinkResources true + minifyEnabled true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } diff --git a/sample/proguard-rules.pro b/sample/proguard-rules.pro index 31d9fd619..f1b424510 100644 --- a/sample/proguard-rules.pro +++ b/sample/proguard-rules.pro @@ -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.** { *; }