2024-03-16 13:23:52 +08:00
|
|
|
plugins {
|
|
|
|
|
id 'com.android.application'
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
android {
|
2025-09-11 14:31:36 +08:00
|
|
|
namespace 'cn.ykbox.dashboard'
|
|
|
|
|
compileSdk 35
|
2024-03-16 13:23:52 +08:00
|
|
|
buildToolsVersion "30.0.3"
|
|
|
|
|
|
|
|
|
|
defaultConfig {
|
2025-09-11 14:31:36 +08:00
|
|
|
applicationId "cn.ykbox.dashboard"
|
2024-03-16 13:23:52 +08:00
|
|
|
minSdk 21
|
2025-09-11 14:31:36 +08:00
|
|
|
targetSdk 35
|
2024-03-16 13:23:52 +08:00
|
|
|
versionCode 1
|
|
|
|
|
versionName "1.0"
|
|
|
|
|
|
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
|
release {
|
|
|
|
|
minifyEnabled false
|
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
compileOptions {
|
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
|
}
|
|
|
|
|
buildFeatures {
|
|
|
|
|
viewBinding true
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
|
maven { url "https://s01.oss.sonatype.org/content/groups/public" }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
dependencies {
|
2025-09-11 14:31:36 +08:00
|
|
|
implementation libs.appcompat
|
|
|
|
|
implementation libs.material
|
|
|
|
|
implementation libs.activity
|
|
|
|
|
implementation libs.constraintlayout
|
2025-09-11 18:27:44 +08:00
|
|
|
implementation libs.preference
|
2025-09-11 14:31:36 +08:00
|
|
|
testImplementation libs.junit
|
|
|
|
|
androidTestImplementation libs.ext.junit
|
|
|
|
|
androidTestImplementation libs.espresso.core
|
|
|
|
|
|
|
|
|
|
implementation libs.utilcodex
|
|
|
|
|
|
2025-09-12 10:27:57 +08:00
|
|
|
implementation libs.okhttp
|
2025-09-11 14:31:36 +08:00
|
|
|
implementation libs.banner
|
|
|
|
|
implementation libs.glide
|
|
|
|
|
annotationProcessor libs.glidecompiler
|
2025-09-12 08:45:31 +08:00
|
|
|
|
|
|
|
|
implementation 'io.github.xmaihh:serialport:2.1.1'
|
2024-03-16 13:23:52 +08:00
|
|
|
}
|