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.
37 lines
885 B
37 lines
885 B
buildscript {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath "com.android.tools.build:gradle:8.7.3"
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0"
|
|
}
|
|
}
|
|
|
|
apply plugin: "com.android.library"
|
|
apply plugin: "kotlin-android"
|
|
|
|
android {
|
|
namespace "com.aiagent.device_plugin_interface"
|
|
compileSdk 35
|
|
|
|
defaultConfig {
|
|
minSdk 24
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = "17"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.9.0"
|
|
// 注意:本包不依赖任何 native 厂商实现;它只定义接口与数据类,
|
|
// 厂商插件(device_jieli 等)依赖它来 implement,不能反向依赖。
|
|
}
|
|
|