diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2023-01-20 19:05:10 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2023-01-20 19:37:41 +0530 |
commit | f8690ca21511fe9a916911b0d799388ea29c911b (patch) | |
tree | 2c509ed67e97608e081d2040e6e1d895eef47f7a | |
parent | 4f26156030a24d8ce3107104636f4ee85d8065f6 (diff) |
gradle: migrate to namespace attribute
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
-rw-r--r-- | tunnel/build.gradle | 1 | ||||
-rw-r--r-- | tunnel/src/main/AndroidManifest.xml | 3 | ||||
-rw-r--r-- | ui/build.gradle | 1 | ||||
-rw-r--r-- | ui/src/main/AndroidManifest.xml | 1 |
4 files changed, 3 insertions, 3 deletions
diff --git a/tunnel/build.gradle b/tunnel/build.gradle index 9b894735..e70f7eb6 100644 --- a/tunnel/build.gradle +++ b/tunnel/build.gradle @@ -12,6 +12,7 @@ android { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } + namespace 'com.wireguard.android.tunnel' defaultConfig { minSdkVersion 21 targetSdkVersion 31 diff --git a/tunnel/src/main/AndroidManifest.xml b/tunnel/src/main/AndroidManifest.xml index 9db194f8..0d97f321 100644 --- a/tunnel/src/main/AndroidManifest.xml +++ b/tunnel/src/main/AndroidManifest.xml @@ -3,8 +3,7 @@ ~ SPDX-License-Identifier: Apache-2.0 --> -<manifest xmlns:android="http://schemas.android.com/apk/res/android" - package="com.wireguard.android.tunnel"> +<manifest xmlns:android="http://schemas.android.com/apk/res/android"> <application> <service diff --git a/ui/build.gradle b/ui/build.gradle index b48f0121..538b3d0c 100644 --- a/ui/build.gradle +++ b/ui/build.gradle @@ -18,6 +18,7 @@ android { dataBinding = true viewBinding = true } + namespace = 'com.wireguard.android' defaultConfig { applicationId 'com.wireguard.android' minSdkVersion 21 diff --git a/ui/src/main/AndroidManifest.xml b/ui/src/main/AndroidManifest.xml index 4dd38cb2..3993e1ff 100644 --- a/ui/src/main/AndroidManifest.xml +++ b/ui/src/main/AndroidManifest.xml @@ -1,7 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" - package="com.wireguard.android" android:installLocation="internalOnly"> <uses-permission android:name="android.permission.CAMERA" /> |