Allow specifying the version and version code on gradle command line

This commit is contained in:
Guillaume Meunier committed 2024-09-20 21:35:16 +02:00
1 parent 1e646c1257
commit cd53c2db48
1 file changed
+2 -2
+2 -2
View File
@@ -68,8 +68,8 @@ android {
compileSdkVersion 32
targetSdkVersion 32 // for Oculus Store
versionName = "0.19"
versionCode = 1
versionName = project.hasProperty('wivrn_version') ? wivrn_version : "1.0"
versionCode = project.hasProperty('wivrn_versionCode') ? wivrn_versionCode.toInteger() : 1
externalNativeBuild {
cmake {