
Update the structure of the settings system to do several things: - Finally use int preferences everywhere instead of the mix of strings & ints from before - Create a new preference named `IntListPreference` that enables the use of integers in list preferences - Actually centralize array values and default values into a single integers xml - Isolate all the new migration code into a single file - Refreshed the int tables used by data objects [DB version has been updated, will not update when other changes] The only preference not migrated is doAtEnd since that is being planned to be retired in a future LoopMode update.
44 lines
No EOL
1.1 KiB
Groovy
44 lines
No EOL
1.1 KiB
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
buildscript {
|
|
ext.kotlin_version = "1.4.32"
|
|
ext.navigation_version = "2.3.4"
|
|
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
|
|
jcenter {
|
|
content {
|
|
includeGroup("org.jetbrains.trove4j")
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
classpath "com.android.tools.build:gradle:4.1.3"
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$navigation_version"
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module build.gradle files
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
|
|
// TODO: Eliminate Exoplayer when it migrates to GMaven
|
|
jcenter {
|
|
content {
|
|
includeGroup("com.google.android.exoplayer")
|
|
includeGroup("org.jetbrains.trove4j")
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
} |