diff options
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/build.gradle b/build.gradle index f5dbda9f..bb67b6bb 100644 --- a/build.gradle +++ b/build.gradle @@ -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 { |