Add AutoRobot directory with Windows line endings
This commit is contained in:
54
AutoRobot/Android/Robot/app/build.gradle.kts
Normal file
54
AutoRobot/Android/Robot/app/build.gradle.kts
Normal file
@@ -0,0 +1,54 @@
|
||||
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")
|
||||
}
|
||||
Reference in New Issue
Block a user