apply plugin: 'com.android.library' apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' apply plugin: 'kotlin-kapt' android { compileSdkVersion 32 resourcePrefix "uxsdk_" defaultConfig { minSdkVersion 24 targetSdkVersion 32 versionCode 1 versionName "1.0" } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } kotlinOptions{ jvmTarget = JavaVersion.VERSION_1_8 freeCompilerArgs += ["-Xjvm-default=all"] } buildFeatures { viewBinding true } } dependencies { implementation 'androidx.annotation:annotation:1.1.0' implementation 'androidx.appcompat:appcompat:1.3.1' implementation 'androidx.multidex:multidex:2.0.1' implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation 'androidx.recyclerview:recyclerview:1.1.0' implementation 'com.squareup.okio:okio:1.17.2' implementation 'com.squareup.wire:wire-runtime:2.2.0' implementation 'androidx.constraintlayout:constraintlayout:2.1.4' implementation 'androidx.lifecycle:lifecycle-common-java8:2.3.1' implementation 'androidx.lifecycle:lifecycle-runtime:2.3.1' implementation 'androidx.lifecycle:lifecycle-process:2.3.1' implementation 'androidx.media:media:1.0.0' // implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$KOTLIN_VERSION" implementation "androidx.core:core-ktx:1.3.2" implementation 'io.reactivex.rxjava3:rxandroid:3.0.0' implementation 'io.reactivex.rxjava3:rxkotlin:3.0.0' implementation 'com.dji:wpmzsdk:1.0.1.7' implementation 'io.reactivex.rxjava2:rxjava:2.2.4' implementation 'com.airbnb.android:lottie:3.3.1'//RTK扫描页中使用,用于实现动画效果 implementation 'androidx.cardview:cardview:1.0.0'//PopoverView中使用 implementation "com.mikepenz:community-material-typeface:3.5.95.1-kotlin@aar" implementation 'com.mikepenz:google-material-typeface:3.0.1.4.original-kotlin@aar' implementation 'com.mikepenz:iconics-views:4.0.2@aar' implementation 'com.mikepenz:iconics-core:4.0.2@aar' implementation 'com.mikepenz:ionicons-typeface:2.0.1.5-kotlin@aar' implementation 'com.google.android.material:material:1.0.0'//AvoidanceShortcutWidget使用 api 'org.maplibre.gl:android-sdk-turf:5.9.1' api 'org.maplibre.gl:android-sdk:10.3.1' api 'com.google.android.gms:play-services-places:16.0.0' api 'com.google.android.gms:play-services-maps:16.0.0' api 'com.google.android.gms:play-services-location:16.0.0' api 'com.google.android.gms:play-services-base:16.0.0' compileOnly "com.dji:dji-sdk-v5-aircraft-provided:5.15.0" compileOnly "com.dji:dji-sdk-v5-aircraft:5.15.0" }