
Finally give up and use Room to persist the playback state. This should make dependency injection much easier, and the implementation isn't exactly the *worst*, as I was already using "raw" data structures for the old queue database.
32 lines
No EOL
774 B
Groovy
32 lines
No EOL
774 B
Groovy
buildscript {
|
|
ext {
|
|
kotlin_version = '1.7.21'
|
|
navigation_version = "2.5.3"
|
|
}
|
|
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
classpath "com.android.tools.build:gradle:7.3.1"
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$navigation_version"
|
|
classpath "com.diffplug.spotless:spotless-plugin-gradle:6.10.0"
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module build.gradle files
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
} |