build: update dep versions
This commit is contained in:
+2
-2
@@ -1,6 +1,6 @@
|
||||
buildscript {
|
||||
ext {
|
||||
agp_version = '8.13.2'
|
||||
agp_version = '9.0.1'
|
||||
kotlin_version = '2.2.0'
|
||||
kotlin_coroutines_version = '1.10.2'
|
||||
navigation_version = "2.9.6"
|
||||
@@ -30,7 +30,7 @@ plugins {
|
||||
//noinspection GradlePluginVersion
|
||||
id 'com.android.library' version "$agp_version" apply false
|
||||
id "org.jetbrains.kotlin.android" version "$kotlin_version" apply false
|
||||
id "com.google.devtools.ksp" version '2.2.0-2.0.2' apply false
|
||||
id "com.google.devtools.ksp" version '2.3.2' apply false
|
||||
// We use spotless in the root build.gradle to apply to all modules.
|
||||
id "com.diffplug.spotless" version "8.1.0" apply true
|
||||
}
|
||||
|
||||
+6
-1
@@ -16,7 +16,6 @@ android {
|
||||
|
||||
defaultConfig {
|
||||
minSdk min_sdk
|
||||
targetSdk target_sdk
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
consumerProguardFiles "consumer-rules.pro"
|
||||
@@ -55,6 +54,12 @@ android {
|
||||
buildFeatures {
|
||||
buildConfig true
|
||||
}
|
||||
lint {
|
||||
targetSdk 36
|
||||
}
|
||||
testOptions {
|
||||
targetSdk 36
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
@@ -49,7 +49,7 @@ internal abstract class CacheDatabase : RoomDatabase() {
|
||||
CacheDatabase::class.java,
|
||||
"music_cache.db",
|
||||
)
|
||||
.fallbackToDestructiveMigration()
|
||||
.fallbackToDestructiveMigration(true)
|
||||
.build()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -51,7 +51,7 @@ internal abstract class PlaylistDatabase : RoomDatabase() {
|
||||
PlaylistDatabase::class.java,
|
||||
"user_music.db",
|
||||
)
|
||||
.fallbackToDestructiveMigration()
|
||||
.fallbackToDestructiveMigration(true)
|
||||
.build()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,6 +5,9 @@ pluginManagement {
|
||||
gradlePluginPortal()
|
||||
}
|
||||
}
|
||||
plugins {
|
||||
id 'org.gradle.toolchains.foojay-resolver-convention' version '1.0.0'
|
||||
}
|
||||
|
||||
dependencyResolutionManagement {
|
||||
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
||||
|
||||
Reference in New Issue
Block a user