Skip to content

Commit f689f1c

Browse files
author
hotchemi
committed
Apply bintray-release plugin for annotation module.
1 parent d1ae2f8 commit f689f1c

File tree

4 files changed

+20
-3
lines changed

4 files changed

+20
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ChangeLog
22

3-
- 3.3.0 2018/04/17
3+
- 3.3.1 2018/04/17
44
- Internal: Update using Kotlin ver to 1.2.50 [#489](https://github.com/permissions-dispatcher/PermissionsDispatcher/pull/489)
55
- Add: Add a lint rule for not call WithPermissionCheck inside onResume [#486](https://github.com/permissions-dispatcher/PermissionsDispatcher/pull/486)
66
- Fix: Fix compile error when request SYSTEM_ALERT_WINDOW on SupportFragment [#482](https://github.com/permissions-dispatcher/PermissionsDispatcher/pull/482)

annotation/build.gradle

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
11
apply plugin: 'java-library'
2+
apply plugin: 'com.novoda.bintray-release'
23

34
targetCompatibility = JavaVersion.VERSION_1_6
4-
sourceCompatibility = JavaVersion.VERSION_1_6
5+
sourceCompatibility = JavaVersion.VERSION_1_6
6+
7+
publish {
8+
userOrg = USER
9+
groupId = GROUP_ID
10+
artifactId = ARTIFACT_ID_ANNOTATION
11+
version = VERSION
12+
desc = DESCRIPTION
13+
website = WEBSITE
14+
licences = LICENCES
15+
}
16+
17+
// Non-Android project: Artifactory Plugin adds only 1 publication
18+
project.ext.publicationName = "maven"
19+
apply from: rootProject.file('gradle/gradle-artifactory-upload.gradle')

gradle.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ USER = hotchemi
55
GROUP_ID = com.github.hotchemi
66
ARTIFACT_ID_LIBRARY = permissionsdispatcher
77
ARTIFACT_ID_PROCESSOR = permissionsdispatcher-processor
8-
VERSION = 3.3.0
8+
ARTIFACT_ID_ANNOTATION = permissionsdispatcher-annotation
9+
VERSION = 3.3.1
910
DESCRIPTION = Annotation-based library for generating runtime permissions dispatcher.
1011
WEBSITE = https://github.com/hotchemi/PermissionsDispatcher
1112
LICENCES = ['Apache-2.0']

scripts/release.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22

33
./gradlew clean build generatePomFileForMavenPublication :processor:bintrayUpload -PbintrayUser=$bintrayUser -PbintrayKey=$bintrayKey -PdryRun=false
44
./gradlew :library:bintrayUpload -PbintrayUser=$bintrayUser -PbintrayKey=$bintrayKey -PdryRun=false
5+
./gradlew :annotation:bintrayUpload -PbintrayUser=$bintrayUser -PbintrayKey=$bintrayKey -PdryRun=false

0 commit comments

Comments
 (0)