mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-12 21:30:30 +05:30
chore: upgrade kotlin version and deprecated code and remove unused code (#4763)
* upgrade some deprecated code * upgrade kotlin version
This commit is contained in:
parent
4cef17c9ab
commit
a33e118f10
@ -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
|
||||
|
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user