Magisk/app/apk/build.gradle.kts

70 lines
2.0 KiB
Plaintext
Raw Normal View History

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")
}
setupAppCommon()
2020-07-04 06:53:31 -07:00
kapt {
correctErrorTypes = true
useBuildCache = true
mapDiagnosticLocations = true
javacOptions {
option("-Xmaxerrs", 1000)
}
}
android {
2022-05-09 20:53:47 -07:00
namespace = "com.topjohnwu.magisk"
2020-07-04 06:53:31 -07:00
defaultConfig {
applicationId = "com.topjohnwu.magisk"
vectorDrawables.useSupportLibrary = true
versionName = Config.version
versionCode = Config.versionCode
2024-07-14 18:49:56 +08:00
ndk {
abiFilters += listOf("armeabi-v7a", "arm64-v8a", "x86", "x86_64", "riscv64")
debugSymbolLevel = "FULL"
}
2020-07-04 06:53:31 -07:00
}
buildTypes {
2021-09-08 00:45:15 +08:00
release {
2020-07-04 06:53:31 -07:00
isMinifyEnabled = true
isShrinkResources = true
2021-07-18 13:11:20 +08:00
proguardFiles("proguard-rules.pro")
2020-07-04 06:53:31 -07:00
}
}
buildFeatures {
dataBinding = true
}
}
dependencies {
implementation(project(":app:core"))
2020-07-04 06:53:31 -07:00
2020-08-11 00:54:19 -07:00
implementation("com.github.topjohnwu:indeterminate-checkbox:1.0.7")
2023-04-02 02:13:47 -07:00
implementation("dev.rikka.rikkax.layoutinflater:layoutinflater:1.3.0")
2022-06-19 21:25:19 +08:00
implementation("dev.rikka.rikkax.insets:insets:1.3.0")
implementation("dev.rikka.rikkax.recyclerview:recyclerview-ktx:1.3.2")
2020-07-04 06:53:31 -07:00
2024-03-08 17:09:54 -08:00
val vNav = "2.7.7"
2020-08-15 05:43:28 -07:00
implementation("androidx.navigation:navigation-fragment-ktx:${vNav}")
implementation("androidx.navigation:navigation-ui-ktx:${vNav}")
2020-07-04 06:53:31 -07:00
2022-05-22 20:11:24 -07:00
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
2020-07-04 06:53:31 -07:00
implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.1.0")
2023-07-21 14:10:52 +08:00
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"))
2020-07-04 06:53:31 -07:00
}