2020-07-04 13:53:31 +00:00
|
|
|
plugins {
|
|
|
|
id("com.android.application")
|
|
|
|
kotlin("android")
|
2020-11-23 20:35:24 +00:00
|
|
|
kotlin("plugin.parcelize")
|
2020-07-04 13:53:31 +00:00
|
|
|
kotlin("kapt")
|
|
|
|
id("androidx.navigation.safeargs.kotlin")
|
|
|
|
}
|
|
|
|
|
2024-07-04 07:02:42 +00:00
|
|
|
setupAppCommon()
|
|
|
|
|
2020-07-04 13:53:31 +00:00
|
|
|
kapt {
|
|
|
|
correctErrorTypes = true
|
|
|
|
useBuildCache = true
|
|
|
|
mapDiagnosticLocations = true
|
|
|
|
javacOptions {
|
|
|
|
option("-Xmaxerrs", 1000)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
2022-05-10 03:53:47 +00:00
|
|
|
namespace = "com.topjohnwu.magisk"
|
|
|
|
|
2020-07-04 13:53:31 +00:00
|
|
|
defaultConfig {
|
|
|
|
applicationId = "com.topjohnwu.magisk"
|
|
|
|
vectorDrawables.useSupportLibrary = true
|
2021-01-22 10:28:53 +00:00
|
|
|
versionName = Config.version
|
|
|
|
versionCode = Config.versionCode
|
2020-07-04 13:53:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
2021-09-07 16:45:15 +00:00
|
|
|
release {
|
2020-07-04 13:53:31 +00:00
|
|
|
isMinifyEnabled = true
|
|
|
|
isShrinkResources = true
|
2021-07-18 05:11:20 +00:00
|
|
|
proguardFiles("proguard-rules.pro")
|
2020-07-04 13:53:31 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
buildFeatures {
|
|
|
|
dataBinding = true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2024-07-04 07:02:42 +00:00
|
|
|
implementation(project(":app:core"))
|
2020-07-04 13:53:31 +00:00
|
|
|
|
2020-08-11 07:54:19 +00:00
|
|
|
implementation("com.github.topjohnwu:indeterminate-checkbox:1.0.7")
|
2023-04-02 09:13:47 +00:00
|
|
|
implementation("dev.rikka.rikkax.layoutinflater:layoutinflater:1.3.0")
|
2022-06-19 13:25:19 +00:00
|
|
|
implementation("dev.rikka.rikkax.insets:insets:1.3.0")
|
2023-08-11 16:38:59 +00:00
|
|
|
implementation("dev.rikka.rikkax.recyclerview:recyclerview-ktx:1.3.2")
|
2020-07-04 13:53:31 +00:00
|
|
|
|
2024-03-09 01:09:54 +00:00
|
|
|
val vNav = "2.7.7"
|
2020-08-15 12:43:28 +00:00
|
|
|
implementation("androidx.navigation:navigation-fragment-ktx:${vNav}")
|
|
|
|
implementation("androidx.navigation:navigation-ui-ktx:${vNav}")
|
2020-07-04 13:53:31 +00:00
|
|
|
|
2022-05-23 03:11:24 +00:00
|
|
|
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
|
2020-07-04 13:53:31 +00:00
|
|
|
implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.1.0")
|
2023-07-21 06:10:52 +00:00
|
|
|
implementation("androidx.recyclerview:recyclerview:1.3.2")
|
2024-06-07 04:11:52 +00:00
|
|
|
implementation("androidx.transition:transition:1.5.0")
|
2023-05-30 08:32:43 +00:00
|
|
|
implementation("androidx.core:core-splashscreen:1.0.1")
|
2024-07-04 07:02:42 +00:00
|
|
|
implementation("androidx.fragment:fragment-ktx:1.8.1")
|
|
|
|
|
|
|
|
// Make sure kapt runs with a proper kotlin-stdlib
|
|
|
|
kapt(kotlin("stdlib"))
|
2020-07-04 13:53:31 +00:00
|
|
|
}
|