From c544d774797b4bca6ec2aeaa261d859a48360110 Mon Sep 17 00:00:00 2001 From: Kizzy Date: Sun, 29 Jan 2023 22:20:24 +0530 Subject: [PATCH 1/3] fix(gradle): add com.android.tools.build:gradle:7.3.1 to classpath --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 112347b..8c7d0a8 100644 --- a/build.gradle +++ b/build.gradle @@ -3,7 +3,7 @@ buildscript { ext.kotlin_version = '1.7.21' dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" - classpath "com.android.tools.build:gradle:7.4.0" + classpath 'com.android.tools.build:gradle:7.3.1' } } plugins { From 84e03520f804553c28619bd13fe33f6794e36d5f Mon Sep 17 00:00:00 2001 From: Kizzy Date: Sun, 29 Jan 2023 22:26:43 +0530 Subject: [PATCH 2/3] fix(gradle): add java11 compatibility --- KizzyRPC/build.gradle | 4 ++-- app/build.gradle | 4 ++-- build.gradle | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/KizzyRPC/build.gradle b/KizzyRPC/build.gradle index 67473ff..14ff34b 100644 --- a/KizzyRPC/build.gradle +++ b/KizzyRPC/build.gradle @@ -20,8 +20,8 @@ android { } } compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 + sourceCompatibility JavaVersion.VERSION_11 + targetCompatibility JavaVersion.VERSION_11 } } diff --git a/app/build.gradle b/app/build.gradle index 060ba61..b8f1539 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -23,8 +23,8 @@ android { } } compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 + sourceCompatibility JavaVersion.VERSION_11 + targetCompatibility JavaVersion.VERSION_11 } } diff --git a/build.gradle b/build.gradle index 8c7d0a8..8b97255 100644 --- a/build.gradle +++ b/build.gradle @@ -3,7 +3,7 @@ buildscript { ext.kotlin_version = '1.7.21' dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" - classpath 'com.android.tools.build:gradle:7.3.1' + classpath 'com.android.tools.build:gradle:7.4.0' } } plugins { From 8fbf9153a636a270e96e9c003fce81f1001d7a0f Mon Sep 17 00:00:00 2001 From: Kizzy Date: Sun, 29 Jan 2023 22:35:19 +0530 Subject: [PATCH 3/3] refactor(namespace): remove deprecated package name from manifest --- KizzyRPC/build.gradle | 1 + KizzyRPC/src/main/AndroidManifest.xml | 3 +-- app/build.gradle | 1 + app/src/main/AndroidManifest.xml | 3 +-- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/KizzyRPC/build.gradle b/KizzyRPC/build.gradle index 14ff34b..abbf391 100644 --- a/KizzyRPC/build.gradle +++ b/KizzyRPC/build.gradle @@ -4,6 +4,7 @@ plugins { } android { + namespace 'com.my.kizzyrpc' compileSdk 33 defaultConfig { diff --git a/KizzyRPC/src/main/AndroidManifest.xml b/KizzyRPC/src/main/AndroidManifest.xml index 7be2363..44008a4 100644 --- a/KizzyRPC/src/main/AndroidManifest.xml +++ b/KizzyRPC/src/main/AndroidManifest.xml @@ -1,5 +1,4 @@ - + \ No newline at end of file diff --git a/app/build.gradle b/app/build.gradle index b8f1539..314585f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -4,6 +4,7 @@ plugins { } android { + namespace 'kizzy.rpc' compileSdk 33 defaultConfig { diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index b11d6a3..73cd0fe 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,7 +1,6 @@ + xmlns:tools="http://schemas.android.com/tools">