From 61a93f2f69b25d2ccc621ba2a10f300eec35227f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ensar=20Saraj=C4=8Di=C4=87?= Date: Wed, 13 Sep 2023 12:49:28 +0200 Subject: [PATCH] Clean up gradle deprecation warnings --- app/build.gradle.kts | 8 ++++++-- gradle/libs.versions.toml | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index e1960af5..3d2029f4 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -1,10 +1,15 @@ -import java.io.FileInputStream import org.jetbrains.kotlin.gradle.tasks.KotlinCompile import org.jetbrains.kotlin.konan.properties.Properties +import java.io.FileInputStream plugins { alias(libs.plugins.android) alias(libs.plugins.kotlinAndroid) + base +} + +base { + archivesName.set("camera") } val keystorePropertiesFile: File = rootProject.file("keystore.properties") @@ -22,7 +27,6 @@ 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", "camera") vectorDrawables.useSupportLibrary = true } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 0591e4ee..3a4175cf 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -11,7 +11,7 @@ androidx-ktx = "2.6.1" #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"