Clean up gradle deprecation warnings

This commit is contained in:
Ensar Sarajčić 2023-09-13 13:30:23 +02:00
parent dd8114a1ea
commit ed776d5720
2 changed files with 7 additions and 4 deletions

View file

@ -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("file-manager")
}
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", "file-manager")
multiDexEnabled = true
vectorDrawables.useSupportLibrary = true
}
@ -51,7 +55,7 @@ android {
isMinifyEnabled = true
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
"proguard-rules.pro",
)
if (keystorePropertiesFile.exists()) {
signingConfig = signingConfigs.getByName("release")

View file

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.simplemobiletools.filemanager.pro"
android:installLocation="auto">
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />