Explicitly name archive.
This commit is contained in:
parent
834dfb489f
commit
e4437b1d66
11
build.gradle
11
build.gradle
|
@ -14,6 +14,7 @@ apply plugin: 'witness'
|
||||||
apply plugin: 'maven'
|
apply plugin: 'maven'
|
||||||
apply plugin: 'signing'
|
apply plugin: 'signing'
|
||||||
|
|
||||||
|
archivesBaseName = "axolotl-android"
|
||||||
version = "1.0.0"
|
version = "1.0.0"
|
||||||
group = "org.whispersystems"
|
group = "org.whispersystems"
|
||||||
|
|
||||||
|
@ -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 {
|
signing {
|
||||||
|
|
Loading…
Reference in New Issue