Switch to using 'namespace' property in build.gradle

This commit is contained in:
cketti 2022-09-17 14:33:34 +02:00
parent 5cf51066db
commit 66739b4b70
20 changed files with 24 additions and 25 deletions

View file

@ -21,6 +21,8 @@ dependencies {
} }
android { android {
namespace 'com.fsck.k9.autodiscovery.providersxml'
compileSdkVersion buildConfig.compileSdk compileSdkVersion buildConfig.compileSdk
buildToolsVersion buildConfig.buildTools buildToolsVersion buildConfig.buildTools

View file

@ -1,2 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest package="com.fsck.k9.autodiscovery.providersxml" />

View file

@ -43,6 +43,8 @@ dependencies {
} }
android { android {
namespace 'com.fsck.k9.core'
compileSdkVersion buildConfig.compileSdk compileSdkVersion buildConfig.compileSdk
buildToolsVersion buildConfig.buildTools buildToolsVersion buildConfig.buildTools

View file

@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools">
package="com.fsck.k9.core">
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.READ_SYNC_SETTINGS" /> <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />

View file

@ -9,6 +9,8 @@ dependencies {
} }
android { android {
namespace 'com.fsck.k9.crypto.openpgp'
compileSdkVersion buildConfig.compileSdk compileSdkVersion buildConfig.compileSdk
buildToolsVersion buildConfig.buildTools buildToolsVersion buildConfig.buildTools

View file

@ -1,2 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest package="com.fsck.k9.crypto.openpgp" />

View file

@ -41,6 +41,8 @@ dependencies {
} }
android { android {
namespace 'com.fsck.k9'
compileSdkVersion buildConfig.compileSdk compileSdkVersion buildConfig.compileSdk
buildToolsVersion buildConfig.buildTools buildToolsVersion buildConfig.buildTools

View file

@ -2,8 +2,7 @@
<manifest <manifest
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:installLocation="auto" android:installLocation="auto">
package="com.fsck.k9">
<uses-feature <uses-feature
android:name="android.hardware.touchscreen" android:name="android.hardware.touchscreen"

View file

@ -24,6 +24,8 @@ dependencies {
} }
android { android {
namespace 'com.fsck.k9.storage'
compileSdkVersion buildConfig.compileSdk compileSdkVersion buildConfig.compileSdk
buildToolsVersion buildConfig.buildTools buildToolsVersion buildConfig.buildTools

View file

@ -1,2 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest package="com.fsck.k9.storage" />

View file

@ -12,6 +12,8 @@ dependencies {
} }
android { android {
namespace 'com.fsck.k9.testing'
compileSdkVersion buildConfig.compileSdk compileSdkVersion buildConfig.compileSdk
buildToolsVersion buildConfig.buildTools buildToolsVersion buildConfig.buildTools

View file

@ -1,2 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest package="com.fsck.k9.testing" />

View file

@ -18,6 +18,8 @@ dependencies {
} }
android { android {
namespace 'com.fsck.k9.ui.base'
compileSdkVersion buildConfig.compileSdk compileSdkVersion buildConfig.compileSdk
buildToolsVersion buildConfig.buildTools buildToolsVersion buildConfig.buildTools

View file

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android">
package="com.fsck.k9.ui.base">
<application> <application>

View file

@ -70,6 +70,8 @@ dependencies {
} }
android { android {
namespace 'com.fsck.k9.ui'
compileSdkVersion buildConfig.compileSdk compileSdkVersion buildConfig.compileSdk
buildToolsVersion buildConfig.buildTools buildToolsVersion buildConfig.buildTools

View file

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android">
package="com.fsck.k9.ui">
<uses-permission android:name="android.permission.VIBRATE" /> <uses-permission android:name="android.permission.VIBRATE" />

View file

@ -27,6 +27,8 @@ dependencies {
} }
android { android {
namespace 'com.fsck.k9.ui.setup'
compileSdkVersion buildConfig.compileSdk compileSdkVersion buildConfig.compileSdk
buildToolsVersion buildConfig.buildTools buildToolsVersion buildConfig.buildTools

View file

@ -1,2 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest package="com.fsck.k9.ui.setup" />

View file

@ -1,6 +1,8 @@
apply plugin: 'com.android.library' apply plugin: 'com.android.library'
android { android {
namespace 'org.openintents.openpgp'
compileSdkVersion buildConfig.compileSdk compileSdkVersion buildConfig.compileSdk
buildToolsVersion buildConfig.buildTools buildToolsVersion buildConfig.buildTools

View file

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.openintents.openpgp">
<application/>
</manifest>