mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-06 10:47:25 +01:00
b1f46ed830
* Migrate History screen database call to SQLDelight - Move all migrations to SQLDelight - Move all tables to SQLDelight Co-authored-by: inorichi <3521738+inorichi@users.noreply.github.com> * Changes from review comments * Add adapters to database * Remove logging of database version in App * Change query name for paging source queries * Update migrations * Make SQLite Callback handle migration - To ensure it updates the database * Use SQLDelight Schema version for Callback database version Co-authored-by: inorichi <3521738+inorichi@users.noreply.github.com>
33 lines
845 B
Plaintext
33 lines
845 B
Plaintext
buildscript {
|
|
dependencies {
|
|
classpath(libs.android.shortcut.gradle)
|
|
classpath(libs.google.services.gradle)
|
|
classpath(libs.aboutlibraries.gradle)
|
|
classpath(kotlinx.serialization.gradle)
|
|
classpath("com.squareup.sqldelight:gradle-plugin:1.5.3")
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
alias(androidx.plugins.application) apply false
|
|
alias(androidx.plugins.library) apply false
|
|
alias(kotlinx.plugins.android) apply false
|
|
alias(libs.plugins.kotlinter)
|
|
alias(libs.plugins.versionsx)
|
|
}
|
|
|
|
subprojects {
|
|
apply<org.jmailen.gradle.kotlinter.KotlinterPlugin>()
|
|
|
|
kotlinter {
|
|
experimentalRules = true
|
|
|
|
// Doesn't play well with Android Studio
|
|
disabledRules = arrayOf("experimental:argument-list-wrapping")
|
|
}
|
|
}
|
|
|
|
tasks.register<Delete>("clean") {
|
|
delete(rootProject.buildDir)
|
|
}
|