mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-23 12:09:48 +00:00
66 lines
1.8 KiB
Plaintext
66 lines
1.8 KiB
Plaintext
plugins {
|
|
id("com.android.application")
|
|
kotlin("android")
|
|
kotlin("plugin.parcelize")
|
|
kotlin("kapt")
|
|
id("androidx.navigation.safeargs.kotlin")
|
|
}
|
|
|
|
setupAppCommon()
|
|
|
|
kapt {
|
|
correctErrorTypes = true
|
|
useBuildCache = true
|
|
mapDiagnosticLocations = true
|
|
javacOptions {
|
|
option("-Xmaxerrs", 1000)
|
|
}
|
|
}
|
|
|
|
android {
|
|
namespace = "com.topjohnwu.magisk"
|
|
|
|
defaultConfig {
|
|
applicationId = "com.topjohnwu.magisk"
|
|
vectorDrawables.useSupportLibrary = true
|
|
versionName = Config.version
|
|
versionCode = Config.versionCode
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
isMinifyEnabled = true
|
|
isShrinkResources = true
|
|
proguardFiles("proguard-rules.pro")
|
|
}
|
|
}
|
|
|
|
buildFeatures {
|
|
dataBinding = true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":app:core"))
|
|
|
|
implementation("com.github.topjohnwu:indeterminate-checkbox:1.0.7")
|
|
implementation("dev.rikka.rikkax.layoutinflater:layoutinflater:1.3.0")
|
|
implementation("dev.rikka.rikkax.insets:insets:1.3.0")
|
|
implementation("dev.rikka.rikkax.recyclerview:recyclerview-ktx:1.3.2")
|
|
|
|
val vNav = "2.7.7"
|
|
implementation("androidx.navigation:navigation-fragment-ktx:${vNav}")
|
|
implementation("androidx.navigation:navigation-ui-ktx:${vNav}")
|
|
|
|
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
|
|
implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.1.0")
|
|
implementation("androidx.recyclerview:recyclerview:1.3.2")
|
|
implementation("androidx.transition:transition:1.5.0")
|
|
implementation("androidx.fragment:fragment-ktx:1.8.1")
|
|
implementation("androidx.appcompat:appcompat:1.7.0")
|
|
implementation("com.google.android.material:material:1.12.0")
|
|
|
|
// Make sure kapt runs with a proper kotlin-stdlib
|
|
kapt(kotlin("stdlib"))
|
|
}
|