Explicitly name archive.

This commit is contained in:
Moxie Marlinspike 2014-12-09 10:58:33 -08:00
parent 834dfb489f
commit e4437b1d66
1 changed files with 13 additions and 2 deletions

View File

@ -14,8 +14,9 @@ apply plugin: 'witness'
apply plugin: 'maven'
apply plugin: 'signing'
version = "1.0.0"
group = "org.whispersystems"
archivesBaseName = "axolotl-android"
version = "1.0.0"
group = "org.whispersystems"
repositories {
mavenCentral()
@ -47,6 +48,16 @@ android {
}
}
}
libraryVariants.all { variant ->
variant.outputs.each { output ->
def outputFile = output.outputFile
if (outputFile != null && outputFile.name.endsWith('.aar')) {
def fileName = "${archivesBaseName}-${version}.aar"
output.outputFile = new File(outputFile.parent, fileName)
}
}
}
}
signing {