We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63472e6 commit 2467435Copy full SHA for 2467435
android-database-sqlcipher/build.gradle
@@ -10,7 +10,7 @@ android {
10
minSdkVersion 14
11
targetSdkVersion 26
12
versionCode 1
13
- versionName "${rootProject.ext.clientVersionNumber}"
+ versionName "${clientVersionNumber}"
14
}
15
16
buildTypes {
@@ -33,6 +33,13 @@ android {
33
afterEvaluate {
34
android.libraryVariants.all { variant ->
35
variant.javaCompile.dependsOn([buildNative32, buildNative64])
36
+ variant.outputs.each { output ->
37
+ def outputFile = output.outputFile
38
+ if (outputFile != null && outputFile.name.endsWith(".aar")) {
39
+ def fileName = "${archivesBaseName}-${clientVersionNumber}.aar"
40
+ output.outputFile = new File(outputFile.parent, fileName)
41
+ }
42
43
44
45
0 commit comments