From 86116427931cc724ae1e3105738a34e0619ca287 Mon Sep 17 00:00:00 2001 From: 562935844@qq.com Date: 星期二, 04 四月 2023 16:12:47 +0800 Subject: [PATCH] 增加网关未上云密钥为空的问题处理 --- HDLSDK/com.hdl.sdk/build.gradle | 57 +++++++++++++++++++++++++++++++++++++-------------------- 1 files changed, 37 insertions(+), 20 deletions(-) diff --git a/HDLSDK/com.hdl.sdk/build.gradle b/HDLSDK/com.hdl.sdk/build.gradle index c7ec494..eeb1372 100644 --- a/HDLSDK/com.hdl.sdk/build.gradle +++ b/HDLSDK/com.hdl.sdk/build.gradle @@ -1,6 +1,6 @@ //鎵撳寘鐨� apply plugin: 'com.android.library' -apply plugin:'com.kezong.fat-aar' +apply plugin: 'com.kezong.fat-aar' android { compileSdkVersion rootProject.compileSdkVersion @@ -9,7 +9,7 @@ minSdkVersion rootProject.minSdkVersion targetSdkVersion rootProject.targetSdkVersion versionCode 2 - versionName "1.0.15" + versionName "1.1.0" } buildTypes { debug { @@ -27,14 +27,32 @@ implementation fileTree(include: ['*.jar'], dir: 'libs') -// embed 'com.ezviz.sdk:ezviz-sdk:4.16.1' -// embed(name: 'hdl-common-release',ext: 'aar') -// embed(name: 'hdl-connect-release',ext: 'aar') -// embed(name: 'hdl-socket-release',ext: 'aar') + embed 'com.hdl.hdlhttp:hxhttp:1.0.4' -// embed project(path: ':hdl-common', configuration:'default') - embed project(path: ':hdl-connect', configuration:'default') -// embed project(path: ':hdl-socket', configuration:'default') +// api 'androidx.appcompat:appcompat:1.3.1' +// api 'com.google.android.material:material:1.4.0' + + embed 'com.squareup.okhttp3:okhttp:4.9.1' + embed 'com.squareup.okhttp3:logging-interceptor:4.9.1' + embed 'com.squareup.okio:okio:2.8.0' + //retrofit + embed 'com.squareup.retrofit2:retrofit:2.9.0' + embed 'com.squareup.retrofit2:converter-scalars:2.9.0' + embed 'com.squareup.retrofit2:adapter-rxjava3:2.9.0' + embed 'io.reactivex.rxjava3:rxandroid:3.0.0' + embed 'io.reactivex.rxjava3:rxjava:3.1.1' + embed 'com.google.code.gson:gson:2.8.8' + + embed 'com.trello.rxlifecycle4:rxlifecycle:4.0.2' + embed 'com.trello.rxlifecycle4:rxlifecycle-android:4.0.2' + embed 'com.trello.rxlifecycle4:rxlifecycle-android-lifecycle:4.0.2' + + embed 'org.reactivestreams:reactive-streams:1.0.3' + +// embed(name: 'hxhttp_1.0.4_230201',ext: 'aar') + + embed project(path: ':hdl-connect', configuration: 'default') + } //鎵撳寘鐨� @@ -43,7 +61,7 @@ repositories { google() jcenter() - maven {url "https://plugins.gradle.org/m2/"} + maven { url "https://plugins.gradle.org/m2/" } } dependencies { @@ -52,16 +70,15 @@ } } -//allprojects { -// repositories { -// flatDir{ -// dirs 'libs' -// } -// google() -// jcenter() -// } -//} - +allprojects { + repositories { + flatDir { + dirs 'libs' + } + google() + jcenter() + } +} ////杩愯鐨� -- Gitblit v1.8.0