Explicitly name archive.
This commit is contained in:
parent
834dfb489f
commit
e4437b1d66
15
build.gradle
15
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 {
|
||||
|
|
Loading…
Reference in New Issue