2020-07-04 06:53:31 -07:00
|
|
|
plugins {
|
|
|
|
id("com.android.application")
|
|
|
|
kotlin("android")
|
2020-11-23 12:35:24 -08:00
|
|
|
kotlin("plugin.parcelize")
|
2020-07-04 06:53:31 -07:00
|
|
|
kotlin("kapt")
|
|
|
|
id("androidx.navigation.safeargs.kotlin")
|
|
|
|
}
|
|
|
|
|
2024-11-09 20:07:53 -08:00
|
|
|
setupMainApk()
|
2024-07-04 00:02:42 -07:00
|
|
|
|
2020-07-04 06:53:31 -07:00
|
|
|
kapt {
|
|
|
|
correctErrorTypes = true
|
|
|
|
useBuildCache = true
|
|
|
|
mapDiagnosticLocations = true
|
|
|
|
javacOptions {
|
2024-09-09 22:40:55 +08:00
|
|
|
option("-Xmaxerrs", "1000")
|
2020-07-04 06:53:31 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
buildFeatures {
|
|
|
|
dataBinding = true
|
|
|
|
}
|
2024-09-09 01:55:35 -07:00
|
|
|
|
|
|
|
compileOptions {
|
|
|
|
isCoreLibraryDesugaringEnabled = true
|
|
|
|
}
|
2024-11-19 20:25:10 -08:00
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
isMinifyEnabled = true
|
|
|
|
isShrinkResources = true
|
|
|
|
}
|
|
|
|
}
|
2020-07-04 06:53:31 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2024-07-04 00:02:42 -07:00
|
|
|
implementation(project(":app:core"))
|
2024-09-09 01:55:35 -07:00
|
|
|
coreLibraryDesugaring(libs.jdk.libs)
|
2020-07-04 06:53:31 -07:00
|
|
|
|
2024-08-18 13:12:23 -07:00
|
|
|
implementation(libs.indeterminate.checkbox)
|
|
|
|
implementation(libs.rikka.layoutinflater)
|
|
|
|
implementation(libs.rikka.insets)
|
|
|
|
implementation(libs.rikka.recyclerview)
|
2020-07-04 06:53:31 -07:00
|
|
|
|
2024-08-18 13:12:23 -07:00
|
|
|
implementation(libs.navigation.fragment.ktx)
|
|
|
|
implementation(libs.navigation.ui.ktx)
|
2020-07-04 06:53:31 -07:00
|
|
|
|
2024-08-18 13:12:23 -07:00
|
|
|
implementation(libs.constraintlayout)
|
|
|
|
implementation(libs.swiperefreshlayout)
|
|
|
|
implementation(libs.recyclerview)
|
|
|
|
implementation(libs.transition)
|
|
|
|
implementation(libs.fragment.ktx)
|
|
|
|
implementation(libs.appcompat)
|
|
|
|
implementation(libs.material)
|
2024-07-04 00:02:42 -07:00
|
|
|
|
|
|
|
// Make sure kapt runs with a proper kotlin-stdlib
|
|
|
|
kapt(kotlin("stdlib"))
|
2020-07-04 06:53:31 -07:00
|
|
|
}
|