build: custom native name property

This commit is contained in:
rhunk
2023-10-07 11:40:30 +02:00
parent 54b97759e2
commit e6f4a109da

View File

@@ -8,6 +8,4 @@ plugins {
rootProject.ext.set("appVersionName", "2.0.0")
rootProject.ext.set("appVersionCode", 10)
rootProject.ext.set("applicationId", "me.rhunk.snapenhance")
rootProject.ext.set("nativeName", java.security.SecureRandom().nextLong(1000000000, 99999999999).toString(16))
true // Needed to make the Suppress annotation work for the plugins block
rootProject.ext.set("nativeName", properties["custom_native_name"] ?: java.security.SecureRandom().nextLong(1000000000, 99999999999).toString(16))