From f689f1ca366afcec8973e293d1fbf8d610db8df9 Mon Sep 17 00:00:00 2001 From: hotchemi Date: Mon, 25 Jun 2018 20:58:35 +0900 Subject: [PATCH] Apply bintray-release plugin for annotation module. --- CHANGELOG.md | 2 +- annotation/build.gradle | 17 ++++++++++++++++- gradle.properties | 3 ++- scripts/release.sh | 1 + 4 files changed, 20 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bcbbcaa6..9a86c396 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # ChangeLog -- 3.3.0 2018/04/17 +- 3.3.1 2018/04/17 - Internal: Update using Kotlin ver to 1.2.50 [#489](https://github.com/permissions-dispatcher/PermissionsDispatcher/pull/489) - Add: Add a lint rule for not call WithPermissionCheck inside onResume [#486](https://github.com/permissions-dispatcher/PermissionsDispatcher/pull/486) - Fix: Fix compile error when request SYSTEM_ALERT_WINDOW on SupportFragment [#482](https://github.com/permissions-dispatcher/PermissionsDispatcher/pull/482) diff --git a/annotation/build.gradle b/annotation/build.gradle index 6997077c..ec91f099 100644 --- a/annotation/build.gradle +++ b/annotation/build.gradle @@ -1,4 +1,19 @@ apply plugin: 'java-library' +apply plugin: 'com.novoda.bintray-release' targetCompatibility = JavaVersion.VERSION_1_6 -sourceCompatibility = JavaVersion.VERSION_1_6 \ No newline at end of file +sourceCompatibility = JavaVersion.VERSION_1_6 + +publish { + userOrg = USER + groupId = GROUP_ID + artifactId = ARTIFACT_ID_ANNOTATION + version = VERSION + desc = DESCRIPTION + website = WEBSITE + licences = LICENCES +} + +// Non-Android project: Artifactory Plugin adds only 1 publication +project.ext.publicationName = "maven" +apply from: rootProject.file('gradle/gradle-artifactory-upload.gradle') \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index 0d1a3503..5bfff21e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,7 +5,8 @@ USER = hotchemi GROUP_ID = com.github.hotchemi ARTIFACT_ID_LIBRARY = permissionsdispatcher ARTIFACT_ID_PROCESSOR = permissionsdispatcher-processor -VERSION = 3.3.0 +ARTIFACT_ID_ANNOTATION = permissionsdispatcher-annotation +VERSION = 3.3.1 DESCRIPTION = Annotation-based library for generating runtime permissions dispatcher. WEBSITE = https://github.com/hotchemi/PermissionsDispatcher LICENCES = ['Apache-2.0'] diff --git a/scripts/release.sh b/scripts/release.sh index e03172f2..37981e97 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -2,3 +2,4 @@ ./gradlew clean build generatePomFileForMavenPublication :processor:bintrayUpload -PbintrayUser=$bintrayUser -PbintrayKey=$bintrayKey -PdryRun=false ./gradlew :library:bintrayUpload -PbintrayUser=$bintrayUser -PbintrayKey=$bintrayKey -PdryRun=false +./gradlew :annotation:bintrayUpload -PbintrayUser=$bintrayUser -PbintrayKey=$bintrayKey -PdryRun=false \ No newline at end of file