From 7c8ce9b9a7d3fc1aaa4a621e86415b25ad10a34f Mon Sep 17 00:00:00 2001 From: panlili2024 <14743743+panlili2024@user.noreply.gitee.com> Date: 星期三, 19 三月 2025 09:36:28 +0800 Subject: [PATCH] 添加source屏扫码流程 --- HDLSDK/com.hdl.sdk/build.gradle | 53 ++++++++++++++++++++++++++++++++--------------------- 1 files changed, 32 insertions(+), 21 deletions(-) diff --git a/HDLSDK/com.hdl.sdk/build.gradle b/HDLSDK/com.hdl.sdk/build.gradle index f8964e7..48b680e 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.13" + versionCode 123 + versionName "1.2.3" } buildTypes { debug { @@ -27,14 +27,26 @@ 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') + 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 project(path: ':hdl-connect', configuration: 'default') + } //鎵撳寘鐨� @@ -43,7 +55,7 @@ repositories { google() jcenter() - maven {url "https://plugins.gradle.org/m2/"} + maven { url "https://plugins.gradle.org/m2/" } } dependencies { @@ -52,16 +64,15 @@ } } -//allprojects { -// repositories { -// flatDir{ -// dirs 'libs' -// } -// google() -// jcenter() -// } -//} - +allprojects { + repositories { + flatDir { + dirs 'libs' + } + google() + jcenter() + } +} ////杩愯鐨� -- Gitblit v1.8.0