Update commons version and clean up gradle deprecation warnings

This commit is contained in:
Ensar Sarajčić 2023-09-12 12:04:21 +02:00
parent 45acc341d3
commit 74f70dea88
3 changed files with 8 additions and 5 deletions

View File

@ -6,6 +6,7 @@ plugins {
alias(libs.plugins.android) alias(libs.plugins.android)
alias(libs.plugins.kotlinAndroid) alias(libs.plugins.kotlinAndroid)
alias(libs.plugins.ksp) alias(libs.plugins.ksp)
base
} }
val keystorePropertiesFile: File = rootProject.file("keystore.properties") val keystorePropertiesFile: File = rootProject.file("keystore.properties")
@ -14,6 +15,10 @@ if (keystorePropertiesFile.exists()) {
keystoreProperties.load(FileInputStream(keystorePropertiesFile)) keystoreProperties.load(FileInputStream(keystorePropertiesFile))
} }
base {
archivesName.set("clock")
}
android { android {
compileSdk = project.libs.versions.app.build.compileSDKVersion.get().toInt() compileSdk = project.libs.versions.app.build.compileSDKVersion.get().toInt()
@ -23,7 +28,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", "clock")
ksp { ksp {
arg("room.schemaLocation", "$projectDir/schemas") arg("room.schemaLocation", "$projectDir/schemas")
} }

View File

@ -1,7 +1,6 @@
<?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"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools">
package="com.simplemobiletools.clock">
<uses-permission android:name="com.android.alarm.permission.SET_ALARM" /> <uses-permission android:name="com.android.alarm.permission.SET_ALARM" />
<uses-permission android:name="android.permission.VIBRATE" /> <uses-permission android:name="android.permission.VIBRATE" />

View File

@ -17,9 +17,9 @@ kotlinx-coroutines = "1.7.3"
#NumberPicker #NumberPicker
numberpicker = "2.4.13" numberpicker = "2.4.13"
#Room #Room
room = "2.6.0-alpha02" room = "2.6.0-beta01"
#Simple tools #Simple tools
simple-commons = "b80b717ad3" simple-commons = "25d031dc00"
#Stetho #Stetho
stetho = "1.6.0" stetho = "1.6.0"
#Gradle #Gradle