Skip to content

Commit

Permalink
Apply bintray-release plugin for annotation module.
Browse files Browse the repository at this point in the history
  • Loading branch information
hotchemi committed Jun 25, 2018
1 parent d1ae2f8 commit f689f1c
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 3 deletions.
2 changes: 1 addition & 1 deletion 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)
Expand Down
17 changes: 16 additions & 1 deletion 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
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')
3 changes: 2 additions & 1 deletion gradle.properties
Expand Up @@ -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']
Expand Down
1 change: 1 addition & 0 deletions scripts/release.sh
Expand Up @@ -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

0 comments on commit f689f1c

Please sign in to comment.