@@ -7,7 +7,6 @@ repositories {
77
88android {
99 compileSdkVersion 32
10- buildToolsVersion ' 29.0.3'
1110 useLibrary ' org.apache.http.legacy'
1211
1312 defaultConfig {
@@ -62,6 +61,10 @@ android {
6261 doNotStrip " */*/libAMapSDK_MAP_v6_9_2.so"
6362 doNotStrip " */*/libDJIMOP.so"
6463 exclude ' META-INF/rxjava.properties'
64+ exclude ' META-INF/INDEX.LIST'
65+ exclude ' META-INF/LICENSE'
66+ exclude ' META-INF/NOTICE'
67+ exclude ' META-INF/io.netty.versions.properties'
6568 }
6669
6770 compileOptions {
@@ -74,27 +77,45 @@ android {
7477dependencies {
7578 implementation ' androidx.multidex:multidex:2.0.0'
7679 implementation ' com.squareup:otto:1.3.8'
77- implementation(' com.dji:dji-sdk:4.16.4 ' , {
80+ implementation(' com.dji:dji-sdk:4.17 ' , {
7881 /**
7982 * Uncomment the "library-anti-distortion" if your app does not need Anti Distortion for Mavic 2 Pro and Mavic 2 Zoom.
8083 * Uncomment the "fly-safe-database" if you need database for release, or we will download it when DJISDKManager.getInstance().registerApp
8184 * is called.
8285 * Both will greatly reducing the size of the APK.
8386 */
8487 exclude module : ' library-anti-distortion'
85- // exclude module: 'fly-safe-database'
88+ exclude module : ' fly-safe-database'
8689 })
87- compileOnly ' com.dji:dji-sdk-provided:4.16.4 '
90+ compileOnly ' com.dji:dji-sdk-provided:4.17 '
8891
8992 implementation ' androidx.appcompat:appcompat:1.0.0'
9093 implementation ' androidx.core:core:1.0.0'
9194 implementation ' androidx.constraintlayout:constraintlayout:1.1.3'
9295 implementation ' androidx.recyclerview:recyclerview:1.0.0'
9396 implementation ' androidx.lifecycle:lifecycle-extensions:2.0.0-rc01'
9497 implementation ' androidx.annotation:annotation:1.0.0'
95- implementation ' com.dji:dji-uxsdk:4.15'
98+ implementation (' com.dji:dji-uxsdk:4.16.2' , {
99+ /**
100+ * Comment the "library-anti-distortion" if your app does need Anti Distortion for Mavic 2 Pro and Mavic 2 Zoom.
101+ * Comment the "fly-safe-database" if you do not need database for release, or we will download it when DJISDKManager.getInstance().registerApp
102+ * is called.
103+ * Both will greatly reduce the size of the APK.
104+ */
105+ exclude module : ' library-anti-distortion'
106+ exclude module : ' fly-safe-database'
107+
108+ /**
109+ * Uncomment the following line to exclude amap from the app.
110+ * Note that Google Play Store does not allow APKs that include this library.
111+ */
112+ // exclude group: 'com.amap.api'
113+ })
114+ compileOnly (' com.dji:dji-sdk-provided:4.16.2' )
115+ implementation ' io.projectreactor.netty:reactor-netty-core:1.1.21'
116+ implementation ' io.projectreactor.netty:reactor-netty-http:1.1.21'
96117
97- implementation fileTree(include : [' *.jar' ], dir : ' libs' )
118+ implementation fileTree(include : [' *.jar' , ' *.aar ' ], dir : ' libs' )
98119 testImplementation ' junit:junit:4.12'
99120
100121 // implementation 'tech.gusavila92:java-android-websocket-client:1.2.2'
0 commit comments