commit e6f4a109dad8e7db0191f3faa99d686e56590477
parent 54b97759e266e3ad58530c43d35cad44f757064a
Author: rhunk <101876869+rhunk@users.noreply.github.com>
Date: Sat, 7 Oct 2023 11:40:30 +0200
build: custom native name property
Diffstat:
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/build.gradle.kts b/build.gradle.kts
@@ -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-
\ No newline at end of file
+rootProject.ext.set("nativeName", properties["custom_native_name"] ?: java.security.SecureRandom().nextLong(1000000000, 99999999999).toString(16))