build: upgrade to AGP 8.1.2

This commit is contained in:
Oscar Mira 2023-10-22 13:39:03 +02:00
parent 42cf100951
commit 21e8c77e26
6 changed files with 18 additions and 11 deletions

View File

@ -1,10 +1,10 @@
plugins { plugins {
id('com.android.application') version '7.4.0' apply false id('com.android.application') version '8.1.2' apply false
id('com.android.library') version '7.4.0' apply false id('com.android.library') version '8.1.2' apply false
id('org.jetbrains.kotlin.android') version '1.9.10' apply false id('org.jetbrains.kotlin.android') version '1.9.10' apply false
id('org.jetbrains.kotlin.plugin.parcelize') version '1.9.10' apply false id('org.jetbrains.kotlin.plugin.parcelize') version '1.9.10' apply false
id('com.google.devtools.ksp') version '1.9.10-1.0.13' apply false id('com.google.devtools.ksp') version '1.9.10-1.0.13' apply false
id('com.google.protobuf') version '0.8.19' apply false id('com.google.protobuf') version '0.9.4' apply false
} }
wrapper { wrapper {

View File

@ -10,6 +10,8 @@ ext {
} }
android { android {
namespace = "im.molly.monero.demo"
compileSdk 33 compileSdk 33
defaultConfig { defaultConfig {

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="im.molly.monero.demo">
<application <application
android:name=".MainApplication" android:name=".MainApplication"

View File

@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionSha256Sum=db9c8211ed63f61f60292c69e80d89196f9eb36665e369e7f00ac4cc841c2219 distributionSha256Sum=47a5bfed9ef814f90f8debcbbb315e8e7c654109acd224595ea39fca95c5d4da
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-all.zip
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists

View File

@ -23,6 +23,8 @@ protobuf {
} }
android { android {
namespace = "im.molly.monero"
buildToolsVersion '33.0.1' buildToolsVersion '33.0.1'
compileSdk 33 compileSdk 33
@ -73,6 +75,11 @@ android {
} }
} }
buildFeatures {
aidl true
buildConfig true
}
// testOptions { // testOptions {
// managedDevices { // managedDevices {
// devices { // devices {

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="im.molly.monero">
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
@ -8,8 +7,8 @@
<application android:usesCleartextTraffic="true"> <application android:usesCleartextTraffic="true">
<service <service
android:name=".WalletService" android:name=".WalletService"
android:process=":wallet_service"
android:isolatedProcess="true" android:isolatedProcess="true"
/> android:process=":wallet_service" />
</application> </application>
</manifest> </manifest>