2020-07-18 05:41:15 +00:00
|
|
|
plugins {
|
|
|
|
id("com.android.application")
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
2022-05-18 08:40:48 +00:00
|
|
|
namespace = "com.topjohnwu.libsuexample"
|
|
|
|
|
2020-07-18 05:41:15 +00:00
|
|
|
defaultConfig {
|
2022-02-27 06:00:26 +00:00
|
|
|
minSdk = 21
|
2020-07-18 05:41:15 +00:00
|
|
|
applicationId = "com.topjohnwu.libsuexample"
|
|
|
|
versionCode = 1
|
|
|
|
versionName ="1.0"
|
|
|
|
}
|
|
|
|
|
2020-07-26 09:06:08 +00:00
|
|
|
buildFeatures {
|
2023-05-26 07:05:52 +00:00
|
|
|
buildConfig = true
|
2020-07-26 09:06:08 +00:00
|
|
|
viewBinding = true
|
2023-05-26 07:05:52 +00:00
|
|
|
aidl = true
|
2020-07-26 09:06:08 +00:00
|
|
|
}
|
|
|
|
|
2020-07-18 05:41:15 +00:00
|
|
|
buildTypes {
|
|
|
|
getByName("release") {
|
2020-07-28 10:44:49 +00:00
|
|
|
isMinifyEnabled = true
|
|
|
|
isShrinkResources = true
|
2020-07-18 05:41:15 +00:00
|
|
|
proguardFiles(
|
2020-07-28 10:44:49 +00:00
|
|
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
2020-07-18 05:41:15 +00:00
|
|
|
"proguard-rules.pro"
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
2020-07-26 12:41:19 +00:00
|
|
|
externalNativeBuild {
|
|
|
|
cmake {
|
|
|
|
path = file("src/main/cpp/CMakeLists.txt")
|
|
|
|
}
|
|
|
|
}
|
2021-12-09 12:01:22 +00:00
|
|
|
|
|
|
|
lint {
|
2022-02-23 02:52:21 +00:00
|
|
|
abortOnError = false
|
2021-12-09 12:01:22 +00:00
|
|
|
}
|
2020-07-18 05:41:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2023-09-03 16:41:32 +00:00
|
|
|
implementation("androidx.annotation:annotation:1.6.0")
|
2020-07-18 05:41:15 +00:00
|
|
|
implementation(project(":core"))
|
2020-07-26 09:06:08 +00:00
|
|
|
implementation(project(":service"))
|
2022-05-01 06:59:51 +00:00
|
|
|
implementation(project(":io"))
|
2022-04-22 11:37:43 +00:00
|
|
|
implementation(project(":nio"))
|
2020-07-18 05:41:15 +00:00
|
|
|
}
|