From ad05a271a16ea1e5a9e51577755694b33e8b677d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ensar=20Saraj=C4=8Di=C4=87?= Date: Wed, 13 Sep 2023 13:00:37 +0200 Subject: [PATCH] Clean up gradle deprecation warnings --- app/build.gradle.kts | 9 ++++++++- app/src/main/AndroidManifest.xml | 1 - gradle/libs.versions.toml | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 227e0992..db145c99 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -6,6 +6,11 @@ plugins { alias(libs.plugins.android) alias(libs.plugins.kotlinAndroid) alias(libs.plugins.ksp) + base +} + +base { + archivesName.set("contacts") } val keystorePropertiesFile: File = rootProject.file("keystore.properties") @@ -23,7 +28,9 @@ android { targetSdk = project.libs.versions.app.build.targetSDK.get().toInt() versionName = project.libs.versions.app.version.versionName.get() versionCode = project.libs.versions.app.version.versionCode.get().toInt() - setProperty("archivesBaseName", "contacts") + ksp { + arg("room.schemaLocation", "$projectDir/schemas") + } } signingConfigs { diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 73d6daba..899df787 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,7 +1,6 @@ diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 4b07307d..51b0e42f 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -16,7 +16,7 @@ room = "2.6.0-alpha02" #Simple tools simple-commons = "73d78e5cd3" #Gradle -gradlePlugins-agp = "8.1.0" +gradlePlugins-agp = "8.1.1" #build app-build-compileSDKVersion = "34" app-build-targetSDK = "34"