68 lines
1.9 KiB
Kotlin
68 lines
1.9 KiB
Kotlin
plugins {
|
|
alias(libs.plugins.android.application)
|
|
alias(libs.plugins.kotlin.android)
|
|
}
|
|
|
|
android {
|
|
namespace = "com.shuwei.intelligent.shelves"
|
|
compileSdk = 36
|
|
|
|
defaultConfig {
|
|
applicationId = "com.shuwei.intelligent.shelves"
|
|
minSdk = 25
|
|
//noinspection ExpiredTargetSdkVersion
|
|
targetSdk = 25
|
|
versionCode = 1
|
|
versionName = "1.0"
|
|
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
isMinifyEnabled = false
|
|
proguardFiles(
|
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
|
"proguard-rules.pro"
|
|
)
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = "11"
|
|
}
|
|
buildFeatures {
|
|
viewBinding = true
|
|
}
|
|
|
|
ndkVersion = "29.0.13846066"
|
|
}
|
|
|
|
dependencies {
|
|
//implementation(fileTree("libs") { include("*.jar", "*.aar") })
|
|
implementation(libs.androidx.core.ktx)
|
|
implementation(libs.androidx.appcompat)
|
|
implementation(libs.material)
|
|
testImplementation(libs.junit)
|
|
androidTestImplementation(libs.androidx.junit)
|
|
androidTestImplementation(libs.androidx.espresso.core)
|
|
implementation("androidx.activity:activity-ktx:1.8.0")
|
|
implementation("io.github.cymchad:BaseRecyclerViewAdapterHelper4:4.1.2")
|
|
|
|
implementation("com.squareup.okhttp3:okhttp:4.9.1")
|
|
implementation("com.google.code.gson:gson:2.10.1")
|
|
|
|
// implementation("io.github.jeremyliao:live-event-bus-x:1.8.0")
|
|
|
|
|
|
// implementation("com.hoho:android-usb-serial:1.3.0")
|
|
|
|
implementation("io.github.jeadyx:kmp-serialport:1.0.0")
|
|
|
|
// implementation("io.github.jeadyx:jserialport:1.5")
|
|
|
|
implementation("androidx.work:work-runtime-ktx:2.8.1")
|
|
} |