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