summaryrefslogtreecommitdiffhomepage
path: root/ui
diff options
context:
space:
mode:
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()