summaryrefslogtreecommitdiffhomepage
path: root/ui
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2023-05-03 14:09:11 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2023-05-03 14:09:11 +0200
commitdca96a52b4580ebbc888604434dd9ff5d7d37361 (patch)
treeea0911f0975da722ac43f376af8ebb9ac77cab3e /ui
parentcf4fca8086858319f1b395c9059c67b436222cbb (diff)
gradle: reabstract package name
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui')
-rw-r--r--ui/build.gradle.kts6
1 files changed, 4 insertions, 2 deletions
diff --git a/ui/build.gradle.kts b/ui/build.gradle.kts
index 8832a358..6b9dfa9e 100644
--- a/ui/build.gradle.kts
+++ b/ui/build.gradle.kts
@@ -2,6 +2,8 @@
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
+val pkg: String = providers.gradleProperty("wireguardPackageName").get()
+
plugins {
alias(libs.plugins.android.application)
alias(libs.plugins.kotlin.android)
@@ -15,9 +17,9 @@ android {
dataBinding = true
viewBinding = true
}
- namespace = "com.wireguard.android"
+ namespace = pkg
defaultConfig {
- applicationId = "com.wireguard.android"
+ applicationId = pkg
minSdk = 21
targetSdk = 33
versionCode = providers.gradleProperty("wireguardVersionCode").get().toInt()