Define namespaces in build.gradle instead of packages in AndroidManifest

This commit is contained in:
Akash Yadav
2022-08-09 09:22:09 +05:30
parent 6863df1573
commit bf4f313be8
37 changed files with 36 additions and 23 deletions
+1
View File
@@ -2,6 +2,7 @@ apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
android {
namespace "com.itsaky.androidide.actions"
compileSdkVersion rootProject.ext.compileSdk
buildToolsVersion rootProject.ext.buildTools
+1 -1
View File
@@ -14,4 +14,4 @@
~ You should have received a copy of the GNU General Public License
~ along with AndroidIDE. If not, see <https://www.gnu.org/licenses/>.
-->
<manifest package="com.itsaky.androidide.actions" />
<manifest/>
+1
View File
@@ -2,6 +2,7 @@ apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
android {
namespace "com.itsaky.androidide"
compileSdkVersion rootProject.ext.compileSdk
buildToolsVersion rootProject.ext.buildTools
+1 -2
View File
@@ -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.itsaky.androidide">
xmlns:tools="http://schemas.android.com/tools">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
+1
View File
@@ -4,6 +4,7 @@ plugins {
}
android {
namespace "com.itsaky.androidide.javac.services"
compileSdkVersion rootProject.ext.compileSdk
buildToolsVersion rootProject.ext.buildTools
@@ -15,4 +15,4 @@
~ along with AndroidIDE. If not, see <https://www.gnu.org/licenses/>.
-->
<manifest package="com.itsaky.androidide.javac.services"/>
<manifest/>
+1
View File
@@ -2,6 +2,7 @@ apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
android {
namespace "com.itsaky.androidide.projects"
compileSdkVersion rootProject.ext.compileSdk
buildToolsVersion rootProject.ext.buildTools
@@ -16,4 +16,4 @@
~ along with AndroidIDE. If not, see <https://www.gnu.org/licenses/>.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.itsaky.androidide.projects"/>
<manifest/>
+1
View File
@@ -2,6 +2,7 @@ apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
android {
namespace "com.itsaky.androidide.common"
compileSdkVersion rootProject.ext.compileSdk
buildToolsVersion rootProject.ext.buildTools
+1 -1
View File
@@ -1 +1 @@
<manifest package="com.itsaky.androidide.common" />
<manifest/>
+1
View File
@@ -1,6 +1,7 @@
apply plugin: 'com.android.library'
android {
namespace "com.itsaky.terminal.view"
compileSdkVersion rootProject.ext.compileSdk
buildToolsVersion rootProject.ext.buildTools
+1 -1
View File
@@ -1 +1 @@
<manifest package="com.itsaky.terminal.view"></manifest>
<manifest/>
+1
View File
@@ -20,6 +20,7 @@ plugins {
}
android {
namespace "com.itsaky.androidide.eventbus.android"
compileSdkVersion rootProject.ext.compileSdk
buildToolsVersion rootProject.ext.buildTools
@@ -16,4 +16,4 @@
~ along with AndroidIDE. If not, see <https://www.gnu.org/licenses/>.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.itsaky.androidide.eventbus.android"/>
<manifest/>
+1
View File
@@ -18,6 +18,7 @@ apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
android {
namespace "com.itsaky.androidide.eventbus.events"
compileSdkVersion rootProject.ext.compileSdk
buildToolsVersion rootProject.ext.buildTools
+1 -1
View File
@@ -15,4 +15,4 @@
~ You should have received a copy of the GNU General Public License
~ along with AndroidIDE. If not, see <https://www.gnu.org/licenses/>.
-->
<manifest package="com.itsaky.androidide.eventbus.events"/>
<manifest/>
+1
View File
@@ -2,6 +2,7 @@ apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
android {
namespace "com.itsaky.androidide.lexers"
compileSdkVersion rootProject.ext.compileSdk
buildToolsVersion rootProject.ext.buildTools
+1 -1
View File
@@ -1 +1 @@
<manifest package="com.itsaky.androidide.lexers" />
<manifest/>
+1
View File
@@ -18,6 +18,7 @@ apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
android {
namespace "com.itsaky.androidide.lsp.api"
compileSdkVersion rootProject.ext.compileSdk
buildToolsVersion rootProject.ext.buildTools
+1 -3
View File
@@ -15,6 +15,4 @@
~ along with AndroidIDE. If not, see <https://www.gnu.org/licenses/>.
-->
<manifest package="com.itsaky.androidide.lsp.api">
</manifest>
<manifest/>
+1
View File
@@ -18,6 +18,7 @@ apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
android {
namespace "com.itsaky.androidide.lsp.java"
compileSdkVersion rootProject.ext.compileSdk
buildToolsVersion rootProject.ext.buildTools
+1 -3
View File
@@ -14,6 +14,4 @@
~ You should have received a copy of the GNU General Public License
~ along with AndroidIDE. If not, see <https://www.gnu.org/licenses/>.
-->
<manifest package="com.itsaky.androidide.lsp.java">
</manifest>
<manifest/>
+1
View File
@@ -2,6 +2,7 @@ apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
android {
namespace "com.itsaky.androidide.lsp.models"
compileSdkVersion rootProject.ext.compileSdk
buildToolsVersion rootProject.ext.buildTools
+1 -1
View File
@@ -15,4 +15,4 @@
~ along with AndroidIDE. If not, see <https://www.gnu.org/licenses/>.
-->
<manifest package="com.itsaky.androidide.lsp.models" />
<manifest/>
+1
View File
@@ -19,6 +19,7 @@ apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
android {
namespace "com.itsaky.androidide.lsp.testing"
compileSdkVersion rootProject.ext.compileSdk
buildToolsVersion rootProject.ext.buildTools
+1 -1
View File
@@ -1 +1 @@
<manifest package="com.itsaky.androidide.lsp.testing" />
<manifest/>
+1
View File
@@ -21,6 +21,7 @@ plugins {
}
android {
namespace "com.itsaky.androidide.lsp.xml"
compileSdkVersion rootProject.ext.compileSdk
buildToolsVersion rootProject.ext.buildTools
+1 -1
View File
@@ -14,4 +14,4 @@
~ You should have received a copy of the GNU General Public License
~ along with AndroidIDE. If not, see <https://www.gnu.org/licenses/>.
-->
<manifest package="com.itsaky.androidide.lsp.xml" />
<manifest/>
+1
View File
@@ -1,6 +1,7 @@
apply plugin: 'com.android.library'
android {
namespace "com.itsaky.sdkinfo"
compileSdkVersion rootProject.ext.compileSdk
buildToolsVersion rootProject.ext.buildTools
+1 -1
View File
@@ -1 +1 @@
<manifest package="com.itsaky.sdkinfo" />
<manifest/>
+1
View File
@@ -2,6 +2,7 @@ apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
android {
namespace "com.itsaky.androidide.shared"
compileSdkVersion rootProject.ext.compileSdk
buildToolsVersion rootProject.ext.buildTools
+1 -1
View File
@@ -16,4 +16,4 @@
~ along with AndroidIDE. If not, see <https://www.gnu.org/licenses/>.
-->
<manifest package="com.itsaky.androidide.shared"/>
<manifest/>
Binary file not shown.
+1
View File
@@ -1,6 +1,7 @@
apply plugin: 'com.android.library'
android {
namespace "com.unnamed.b.atv"
compileSdkVersion rootProject.ext.compileSdk
buildToolsVersion rootProject.ext.buildTools
+1 -1
View File
@@ -1 +1 @@
<manifest package="com.unnamed.b.atv" />
<manifest/>
+1
View File
@@ -2,6 +2,7 @@ apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
android {
namespace "com.itsaky.inflater"
compileSdkVersion rootProject.ext.compileSdk
buildToolsVersion rootProject.ext.buildTools
+1 -1
View File
@@ -1 +1 @@
<manifest package="com.itsaky.inflater" />
<manifest/>