File tree Expand file tree Collapse file tree
src/main/java/org/oxycblt/musikr Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11buildscript {
22 ext {
3- agp_version = ' 8.13.2 '
3+ agp_version = ' 9.0.1 '
44 kotlin_version = ' 2.2.0'
55 kotlin_coroutines_version = ' 1.10.2'
66 navigation_version = " 2.9.6"
@@ -30,7 +30,7 @@ plugins {
3030 // noinspection GradlePluginVersion
3131 id ' com.android.library' version " $agp_version " apply false
3232 id " org.jetbrains.kotlin.android" version " $kotlin_version " apply false
33- id " com.google.devtools.ksp" version ' 2.2.0-2.0 .2' apply false
33+ id " com.google.devtools.ksp" version ' 2.3 .2' apply false
3434 // We use spotless in the root build.gradle to apply to all modules.
3535 id " com.diffplug.spotless" version " 8.1.0" apply true
3636}
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ android {
1616
1717 defaultConfig {
1818 minSdk min_sdk
19- targetSdk target_sdk
2019
2120 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
2221 consumerProguardFiles " consumer-rules.pro"
@@ -55,6 +54,12 @@ android {
5554 buildFeatures {
5655 buildConfig true
5756 }
57+ lint {
58+ targetSdk 36
59+ }
60+ testOptions {
61+ targetSdk 36
62+ }
5863}
5964
6065dependencies {
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ internal abstract class CacheDatabase : RoomDatabase() {
4949 CacheDatabase ::class .java,
5050 " music_cache.db" ,
5151 )
52- .fallbackToDestructiveMigration()
52+ .fallbackToDestructiveMigration(true )
5353 .build()
5454 }
5555}
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ internal abstract class PlaylistDatabase : RoomDatabase() {
5151 PlaylistDatabase ::class .java,
5252 " user_music.db" ,
5353 )
54- .fallbackToDestructiveMigration()
54+ .fallbackToDestructiveMigration(true )
5555 .build()
5656 }
5757}
Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ pluginManagement {
55 gradlePluginPortal()
66 }
77}
8+ plugins {
9+ id ' org.gradle.toolchains.foojay-resolver-convention' version ' 1.0.0'
10+ }
811
912dependencyResolutionManagement {
1013 repositoriesMode. set(RepositoriesMode . FAIL_ON_PROJECT_REPOS )
You can’t perform that action at this time.
0 commit comments