Skip to content

Commit f5ab63e

Browse files
committed
Release version v1.6.0
Added version name to the output APKs Signed-off-by: Saeed Rezaee <saeed.rezaee@kynetics.it>
1 parent 320ff81 commit f5ab63e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

uf-service-api-reference-implementation/build.gradle

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ android {
2828
minSdkVersion 24
2929
//noinspection ExpiredTargetSdkVersion
3030
targetSdkVersion 31
31-
versionCode 35
31+
versionCode 10600
3232
versionName versionFromGit(project)
3333
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
3434
}
@@ -91,6 +91,12 @@ android {
9191
}
9292
}
9393

94+
applicationVariants.configureEach { variant ->
95+
variant.outputs.configureEach {
96+
outputFileName = new File("uf-service-api-reference-implementation-${versionFromGit(project)}-${variant.buildType.name}.apk")
97+
}
98+
}
99+
94100
compileOptions {
95101
sourceCompatibility JavaVersion.VERSION_1_8
96102
targetCompatibility JavaVersion.VERSION_1_8

0 commit comments

Comments
 (0)