From d111a3710d47827b8ff0eb6566290f7a411d78bc Mon Sep 17 00:00:00 2001 From: Hannes Dorfmann Date: Thu, 5 Sep 2019 23:47:21 +0200 Subject: [PATCH] Releasing 4.2.0 --- README.md | 10 +++++----- deploy_snapshot.sh | 2 +- gradle.properties | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index c62d034..105be72 100644 --- a/README.md +++ b/README.md @@ -11,10 +11,10 @@ There are 2 artifacts for kotlin users that allow you to write Adapter Delegates ## Dependencies ``` -implementation 'com.hannesdorfmann:adapterdelegates4-kotlin-dsl:4.1.1' +implementation 'com.hannesdorfmann:adapterdelegates4-kotlin-dsl:4.2.0' // If you use Kotlin Android Extensions and synthetic properties (alternative to findViewById()) -implementation 'com.hannesdorfmann:adapterdelegates4-kotlin-dsl-layoutcontainer:4.1.1' +implementation 'com.hannesdorfmann:adapterdelegates4-kotlin-dsl-layoutcontainer:4.2.0' ``` ## How to use it @@ -104,7 +104,7 @@ fun catAdapterDelegate() = adapterDelegate { This library is available on maven central: ```groovy -implementation 'com.hannesdorfmann:adapterdelegates4:4.1.1' +implementation 'com.hannesdorfmann:adapterdelegates4:4.2.0' ``` [![Build Status](https://travis-ci.org/sockeqwe/AdapterDelegates.svg?branch=master)](https://travis-ci.org/sockeqwe/AdapterDelegates) @@ -113,7 +113,7 @@ Please note that since 4.0 the group id has been changed to `adapterdelegates4`. ### Snapshot ```groovy -implementation 'com.hannesdorfmann:adapterdelegates4:4.1.2-SNAPSHOT' +implementation 'com.hannesdorfmann:adapterdelegates4:4.2.1-SNAPSHOT' ``` You also have to add the url to the snapshot repository: @@ -303,7 +303,7 @@ public class DiffAdapter extends AsyncListDifferDelegationAdapter { There is an additional artifact for the pagination library: ```gradle -implementation 'com.hannesdorfmann:adapterdelegates4-pagination:4.1.1' +implementation 'com.hannesdorfmann:adapterdelegates4-pagination:4.2.0' ``` Use `PagedListDelegationAdapter`. diff --git a/deploy_snapshot.sh b/deploy_snapshot.sh index 301f3a4..a0b8948 100755 --- a/deploy_snapshot.sh +++ b/deploy_snapshot.sh @@ -28,7 +28,7 @@ else echo "signing.secretKeyRingFile=/home/travis/.gnupg/secring.gpg" >> library/gradle.properties echo "org.gradle.parallel=false" >> gradle.properties echo "org.gradle.configureondemand=false" >> gradle.properties - ./gradlew --no-daemon :library:uploadArchives :paging:uploadArchives -Dorg.gradle.parallel=false -Dorg.gradle.configureondemand=false + ./gradlew --no-daemon :library:uploadArchives :paging:uploadArchives :kotlin-dsl:uploadArchives :kotlin-dsl-layoutcontainer:uploadArchives -Dorg.gradle.parallel=false -Dorg.gradle.configureondemand=false rm key.gpg git reset --hard echo "Snapshot deployed!" diff --git a/gradle.properties b/gradle.properties index a79e6b6..f545611 100644 --- a/gradle.properties +++ b/gradle.properties @@ -17,8 +17,8 @@ # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects # org.gradle.parallel=true -VERSION_NAME=4.1.2-SNAPSHOT -VERSION_CODE=412 +VERSION_NAME=4.2.1-SNAPSHOT +VERSION_CODE=421-SNAPSHOT GROUP=com.hannesdorfmann