You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.1 KiB
42 lines
1.1 KiB
plugins {
|
|
id("com.android.library")
|
|
id("org.jetbrains.kotlin.android")
|
|
}
|
|
|
|
android {
|
|
namespace = "com.yunqiinnovation.agent_service"
|
|
compileSdk = 33
|
|
|
|
defaultConfig {
|
|
minSdk = 21
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
}
|
|
|
|
sourceSets {
|
|
getByName("main") {
|
|
manifest.srcFile("src/main/AndroidManifest.xml")
|
|
java.srcDirs("src/main/kotlin")
|
|
}
|
|
}
|
|
|
|
// 添加lint选项
|
|
lintOptions {
|
|
isCheckReleaseBuilds = false
|
|
}
|
|
|
|
}
|
|
dependencies {
|
|
add("implementation", "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.10")
|
|
add("implementation", "androidx.core:core-ktx:1.8.0")
|
|
add("implementation", "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4")
|
|
|
|
// 依赖本地其他插件
|
|
add("compileOnly", project(":azure_speech"))
|
|
add("compileOnly", project(":open_ai_service"))
|
|
add("compileOnly", project(":common_utils"))
|
|
add("compileOnly", project(":chat_storage"))
|
|
}
|