From fdcf461fbfa3bcd650685743e891ad3357898f0c Mon Sep 17 00:00:00 2001 From: 562935844@qq.com Date: 星期四, 31 八月 2023 17:36:50 +0800 Subject: [PATCH] 更新sdk --- HDLSDK/com.hdl.sdk/build.gradle | 59 ++++++++++++++++++++++++++++++++++++++--------------------- 1 files changed, 38 insertions(+), 21 deletions(-) diff --git a/HDLSDK/com.hdl.sdk/build.gradle b/HDLSDK/com.hdl.sdk/build.gradle index 795f57b..00a22db 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 @@ -8,8 +8,8 @@ defaultConfig { minSdkVersion rootProject.minSdkVersion targetSdkVersion rootProject.targetSdkVersion - versionCode 2 - versionName "1.0.15" + versionCode 6 + versionName "1.1.4" } 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