54 lines
1.5 KiB
Plaintext
54 lines
1.5 KiB
Plaintext
|
|
plugins {
|
||
|
|
alias(libs.plugins.android.application)
|
||
|
|
alias(libs.plugins.kotlin.android)
|
||
|
|
}
|
||
|
|
|
||
|
|
android {
|
||
|
|
namespace = "com.joyd.autobot"
|
||
|
|
compileSdk = 36
|
||
|
|
|
||
|
|
defaultConfig {
|
||
|
|
applicationId = "com.joyd.autobot"
|
||
|
|
minSdk = 24
|
||
|
|
targetSdk = 36
|
||
|
|
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"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
dependencies {
|
||
|
|
|
||
|
|
implementation("androidx.preference:preference:1.2.1")
|
||
|
|
implementation("androidx.core:core-ktx:1.10.1")
|
||
|
|
implementation(libs.websocketclient)
|
||
|
|
implementation(libs.okhttp)
|
||
|
|
implementation("androidx.appcompat:appcompat:1.6.1")
|
||
|
|
implementation(libs.material)
|
||
|
|
implementation("androidx.activity:activity:1.8.0")
|
||
|
|
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
|
||
|
|
implementation("androidx.cardview:cardview:1.0.0")
|
||
|
|
// 添加 JoydLib 库依赖
|
||
|
|
implementation(libs.joydlibdev)
|
||
|
|
testImplementation(libs.junit)
|
||
|
|
androidTestImplementation("androidx.test.ext:junit:1.1.5")
|
||
|
|
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
|
||
|
|
}
|