From b2c39b86d5d0d28e320ccf094214aeba88b5fd82 Mon Sep 17 00:00:00 2001 From: Alex Gotev Date: Thu, 18 Jul 2019 22:41:08 +0200 Subject: [PATCH] Updated bintray plugin and using gradle maven plugin publication to deploy on bintray --- README.md | 2 +- manifest.gradle | 4 ++-- recycleradapter-extensions/build.gradle | 2 +- recycleradapter-paging/build.gradle | 2 +- recycleradapter/build.gradle | 2 +- release | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 3702952..fc1b340 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ In this way every item of the recycler view has its own set of files, resulting ## Setup In your gradle dependencies add: ```groovy -def recyclerAdapterVersion = "2.8.0" // change it with the version you want to use +def recyclerAdapterVersion = "2.8.1" // change it with the version you want to use implementation "net.gotev:recycleradapter:$recyclerAdapterVersion" ``` This is the latest version: [ ![Download](https://api.bintray.com/packages/gotev/maven/recycler-adapter/images/download.svg) ](https://bintray.com/gotev/maven/recycler-adapter/_latestVersion) diff --git a/manifest.gradle b/manifest.gradle index 997e953..4d744b5 100644 --- a/manifest.gradle +++ b/manifest.gradle @@ -10,7 +10,7 @@ ext { library_licenses = ["Apache-2.0"] library_licenses_url = 'http://www.apache.org/licenses/LICENSE-2.0.txt' library_project_group = 'net.gotev' - library_version = '2.8.0' + library_version = '2.8.1' version_code = 5 min_sdk = 18 target_sdk = 28 @@ -20,7 +20,7 @@ ext { kotlin_version = '1.3.41' gradle_version = '3.4.1' gradle_versions_plugin_version = '0.20.0' - bintray_plugin_version = '1.7' + bintray_plugin_version = '1.8.4' // Library and app testing dependencies versions junit_version = '4.12' diff --git a/recycleradapter-extensions/build.gradle b/recycleradapter-extensions/build.gradle index 6b32ffc..12465c2 100644 --- a/recycleradapter-extensions/build.gradle +++ b/recycleradapter-extensions/build.gradle @@ -87,7 +87,7 @@ dependencies { bintray { user = properties.getProperty("bintray.user") key = properties.getProperty("bintray.apikey") - configurations = ['archives'] + publications = ['mavenPublish'] pkg { repo = "maven" name = mavProjectName diff --git a/recycleradapter-paging/build.gradle b/recycleradapter-paging/build.gradle index 452ca5f..8339bf0 100644 --- a/recycleradapter-paging/build.gradle +++ b/recycleradapter-paging/build.gradle @@ -89,7 +89,7 @@ dependencies { bintray { user = properties.getProperty("bintray.user") key = properties.getProperty("bintray.apikey") - configurations = ['archives'] + publications = ['mavenPublish'] pkg { repo = "maven" name = mavProjectName diff --git a/recycleradapter/build.gradle b/recycleradapter/build.gradle index cf7531b..d1e239c 100644 --- a/recycleradapter/build.gradle +++ b/recycleradapter/build.gradle @@ -80,7 +80,7 @@ dependencies { bintray { user = properties.getProperty("bintray.user") key = properties.getProperty("bintray.apikey") - configurations = ['archives'] + publications = ['mavenPublish'] pkg { repo = "maven" name = mavProjectName diff --git a/release b/release index 8e59859..8779a42 100755 --- a/release +++ b/release @@ -1,3 +1,3 @@ #!/bin/bash -./gradlew clean bintrayUpload +./gradlew clean publish bintrayUpload