Skip to content

Commit

Permalink
Add Gradle plugin for automatic Sonatype releases. (#788)
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-zinnatullin authored and nikitin-da committed May 15, 2017
1 parent da016db commit 2baa074
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ buildscript {
// Kotlin
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"

// Automatic releases to Sonatype.
classpath 'io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.8.0'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
Expand Down Expand Up @@ -149,3 +152,8 @@ subprojects {
}
}

apply plugin: 'io.codearte.nexus-staging'

nexusStaging {
packageGroup = 'com.pushtorefresh'
}

0 comments on commit 2baa074

Please sign in to comment.