Skip to content

Commit

Permalink
* further improvements
Browse files Browse the repository at this point in the history
* need to wait for:  bintray/gradle-bintray-plugin#234 to get resolved
  • Loading branch information
mikepenz committed Jun 6, 2018
1 parent 5e6a1b0 commit 8c65f57
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 9 deletions.
7 changes: 6 additions & 1 deletion gradle-release.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,21 @@ bintray {

publications('release')
configurations = ['archives']

pkg {
publish = true

repo = "maven"
// it is the name that appears in bintray when logged
name = POM_ARTIFACT_ID
websiteUrl = POM_URL
vcsUrl = POM_SCM_URL
publicDownloadNumbers = true
licenses = ["Apache-2.0"]
publish = true
version {
name = VERSION_NAME
vcsTag = VERSION_NAME
released = new Date()

mavenCentralSync {
sync = false
Expand Down
4 changes: 2 additions & 2 deletions library-core/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apply plugin: 'com.android.library'

def releaseVersion = release.versionName
version release.versionName

android {
compileSdkVersion setup.compileSdk
Expand Down Expand Up @@ -44,7 +44,7 @@ if (project.hasProperty('pushall') || project.hasProperty('librarycoreonly')) {
release(MavenPublication) {
groupId 'com.mikepenz'
artifactId 'fastadapter'
version releaseVersion
version this.version
artifact("$buildDir/outputs/aar/${project.getName()}-release.aar")
}
}
Expand Down
4 changes: 2 additions & 2 deletions library-extensions-expandable/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apply plugin: 'com.android.library'

def releaseVersion = release.versionName
version release.versionName

android {
compileSdkVersion setup.compileSdk
Expand Down Expand Up @@ -58,7 +58,7 @@ if (project.hasProperty('pushall') || project.hasProperty('libraryextensiononly'
release(MavenPublication) {
groupId 'com.mikepenz'
artifactId 'fastadapter-extensions-expandable'
version releaseVersion
version this.version
artifact("$buildDir/outputs/aar/${project.getName()}-release.aar")
}
}
Expand Down
4 changes: 2 additions & 2 deletions library-extensions/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apply plugin: 'com.android.library'

def releaseVersion = release.versionName
version release.versionName

android {
compileSdkVersion setup.compileSdk
Expand Down Expand Up @@ -47,7 +47,7 @@ if (project.hasProperty('pushall') || project.hasProperty('libraryextensiononly'
release(MavenPublication) {
groupId 'com.mikepenz'
artifactId 'fastadapter-extensions'
version releaseVersion
version this.version
artifact("$buildDir/outputs/aar/${project.getName()}-release.aar")
}
}
Expand Down
4 changes: 2 additions & 2 deletions library/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apply plugin: 'com.android.library'

def releaseVersion = release.versionName
version release.versionName

android {
compileSdkVersion setup.compileSdk
Expand Down Expand Up @@ -55,7 +55,7 @@ if (project.hasProperty('pushall') || project.hasProperty('librarycommonsonly'))
release(MavenPublication) {
groupId 'com.mikepenz'
artifactId 'fastadapter-commons'
version releaseVersion
version this.version
artifact("$buildDir/outputs/aar/${project.getName()}-release.aar")
}
}
Expand Down

0 comments on commit 8c65f57

Please sign in to comment.