mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-25 11:05:34 +00:00
70 lines
2.0 KiB
Plaintext
70 lines
2.0 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
|
|
ndk {
|
|
abiFilters += listOf("armeabi-v7a", "arm64-v8a", "x86", "x86_64", "riscv64")
|
|
debugSymbolLevel = "FULL"
|
|
}
|
|
}
|
|
|
|
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.1")
|
|
implementation("androidx.fragment:fragment-ktx:1.8.2")
|
|
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"))
|
|
}
|