diff --git a/README.md b/README.md index c68e46d..a56cc04 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ Add the following to your module's `build.gradle` file: ```Gradle dependencies { - implementation 'com.afollestad:drag-select-recyclerview:2.1.0' + implementation 'com.afollestad:drag-select-recyclerview:2.2.0' } ``` diff --git a/dependencies.gradle b/dependencies.gradle index 871377f..4677e93 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -2,8 +2,8 @@ ext.versions = [ minSdk : 14, compileSdk : 28, buildTools : '28.0.2', - publishVersion : '2.1.0', - publishVersionCode: 23, + publishVersion : '2.2.0', + publishVersionCode: 24, gradlePlugin : '3.1.4', kotlin : '1.2.70', diff --git a/library/build.gradle b/library/build.gradle index 1253ca2..0de5b91 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -10,11 +10,6 @@ android { compileSdkVersion versions.compileSdk buildToolsVersion versions.buildTools - compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 - } - compileOptions { kotlinOptions.freeCompilerArgs += ['-module-name', "com.afollestad.drag-select-recyclerview"] } @@ -27,8 +22,7 @@ android { } packagingOptions { - exclude 'META-INF/library_release.kotlin_module' - exclude 'META-INF/proguard/androidx-annotations.pro' + pickFirst 'META-INF/proguard/androidx-annotations.pro' } } diff --git a/sample/build.gradle b/sample/build.gradle index f3e7d4e..5b8c5ec 100644 --- a/sample/build.gradle +++ b/sample/build.gradle @@ -10,8 +10,8 @@ android { buildToolsVersion versions.buildTools compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 + kotlinOptions.freeCompilerArgs += + ['-module-name', "com.afollestad.drag-select-recyclerview-sample"] } defaultConfig { @@ -23,8 +23,7 @@ android { } packagingOptions { - exclude 'META-INF/sample_release.kotlin_module' - exclude 'META-INF/proguard/androidx-annotations.pro' + pickFirst 'META-INF/proguard/androidx-annotations.pro' } }