Clean up gradle deprecation warnings

This commit is contained in:
Ensar Sarajčić 2023-09-13 12:49:28 +02:00
parent 959b2802a3
commit 61a93f2f69
2 changed files with 7 additions and 3 deletions

View File

@ -1,10 +1,15 @@
import java.io.FileInputStream
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import org.jetbrains.kotlin.konan.properties.Properties import org.jetbrains.kotlin.konan.properties.Properties
import java.io.FileInputStream
plugins { plugins {
alias(libs.plugins.android) alias(libs.plugins.android)
alias(libs.plugins.kotlinAndroid) alias(libs.plugins.kotlinAndroid)
base
}
base {
archivesName.set("camera")
} }
val keystorePropertiesFile: File = rootProject.file("keystore.properties") val keystorePropertiesFile: File = rootProject.file("keystore.properties")
@ -22,7 +27,6 @@ android {
targetSdk = project.libs.versions.app.build.targetSDK.get().toInt() targetSdk = project.libs.versions.app.build.targetSDK.get().toInt()
versionName = project.libs.versions.app.version.versionName.get() versionName = project.libs.versions.app.version.versionName.get()
versionCode = project.libs.versions.app.version.versionCode.get().toInt() versionCode = project.libs.versions.app.version.versionCode.get().toInt()
setProperty("archivesBaseName", "camera")
vectorDrawables.useSupportLibrary = true vectorDrawables.useSupportLibrary = true
} }

View File

@ -11,7 +11,7 @@ androidx-ktx = "2.6.1"
#Simple tools #Simple tools
simple-commons = "73d78e5cd3" simple-commons = "73d78e5cd3"
#Gradle #Gradle
gradlePlugins-agp = "8.1.0" gradlePlugins-agp = "8.1.1"
#build #build
app-build-compileSDKVersion = "34" app-build-compileSDKVersion = "34"
app-build-targetSDK = "34" app-build-targetSDK = "34"