chore: upgrade kotlin version and deprecated code and remove unused code (#4763)

* upgrade some deprecated code

* upgrade kotlin version
This commit is contained in:
IndusAryan 2023-09-12 18:35:46 +05:30 committed by GitHub
parent 4cef17c9ab
commit a33e118f10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 8 deletions

View File

@ -1,5 +1,3 @@
import java.time.Instant
plugins {
id("com.android.application")
id("com.google.devtools.ksp")
@ -65,8 +63,8 @@ android {
}
}
packagingOptions {
exclude("lib/armeabi-v7a/*_neon.so")
packaging {
jniLibs.excludes.add("lib/armeabi-v7a/*_neon.so")
}
namespace = "com.github.libretube"
@ -127,5 +125,3 @@ dependencies {
ksp(libs.room.compiler)
implementation(libs.room)
}
fun getUnixTime() = Instant.now().epochSecond

View File

@ -1,7 +1,7 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
val kotlinVersion = "1.8.22"
val kotlinVersion = "1.9.10"
repositories {
google()
mavenCentral()
@ -21,5 +21,5 @@ plugins {
}
tasks.register<Delete>("clean") {
delete(rootProject.buildDir)
delete(rootProject.layout.buildDirectory)
}