* Split app into core and app:phone * Use global versionCode and versionName * Clean up gradle dependencies * Use string formatting inside getString function * Move proguard file to app:phone * Move app_navigation and BasePlayerActivity to app:phone * Add buildTypes to core gradle and remove buildFeatures * Add suffix core to core namespace * Split code into 4 more modules: data, preferences, player:core and player:video * Clean up some gradle files * Clean up data gradle * Remove duplicate Constants.kt * Use AppPreferences in more places * Split off strings * Remove unused animations * Make about_libraries strings non-translatable * Move mpv assets to player:video module * Make AppPreferences a Singleton
27 lines
No EOL
848 B
Text
27 lines
No EOL
848 B
Text
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
@Suppress("DSL_SCOPE_VIOLATION") // False positive
|
|
plugins {
|
|
alias(libs.plugins.android.application) apply false
|
|
alias(libs.plugins.android.library) apply false
|
|
alias(libs.plugins.kotlin.android) apply false
|
|
alias(libs.plugins.kotlin.parcelize) apply false
|
|
alias(libs.plugins.kotlin.kapt) apply false
|
|
alias(libs.plugins.androidx.navigation.safeargs) apply false
|
|
alias(libs.plugins.hilt) apply false
|
|
alias(libs.plugins.aboutlibraries) apply false
|
|
alias(libs.plugins.ktlint) apply false
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
}
|
|
|
|
tasks.create<Delete>("clean") {
|
|
delete(rootProject.buildDir)
|
|
}
|
|
|
|
val appVersionCode by extra { 14 }
|
|
val appVersionName by extra { "0.8.0" } |