Merge pull request #73 from jpwsutton/master

Moving Maven repositories into publishing in build.gradle
This commit is contained in:
James Sutton 2016-04-20 11:50:10 +01:00
commit 2ea4c56280

View File

@ -98,9 +98,7 @@ publishing {
artifact "$buildDir/outputs/aar/" + rootProject.ext.serviceArchivesBaseName + "-" + rootProject.ext.serviceVersion + ".aar"
}
}
}
repositories {
repositories {
if (project.hasProperty('eclipseRepoUsername')) {
maven {
name 'eclipse'
@ -115,8 +113,11 @@ repositories {
url "$buildDir/repo"
}
}
}
}
// Required to bundle Java library Jar in AAR
assemble.dependsOn copyLibs
publish.dependsOn renameReleaseAAR