Automated Gradle project deployment to Sonatype OSSRH, closes #44
This commit is contained in:
@@ -46,3 +46,10 @@ android.libraryVariants.all { variant ->
|
||||
task.from variant.javaCompile.destinationDir
|
||||
artifacts.add('archives', task);
|
||||
}
|
||||
|
||||
// Automated Gradle project deployment to Sonatype OSSRH
|
||||
if (isReleaseVersion && project.hasProperty("SONATYPE_USERNAME")) {
|
||||
afterEvaluate {
|
||||
project.apply from: "${rootProject.projectDir}/deploy.gradle"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user