From a3f9e5ce8dce3d86a60a79b85ce44424a612c6fa Mon Sep 17 00:00:00 2001 From: 562935844@qq.com Date: 星期五, 13 五月 2022 14:06:45 +0800 Subject: [PATCH] 提交jar版本 --- HDLSDK/hdl-common/build.gradle | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git a/HDLSDK/hdl-common/build.gradle b/HDLSDK/hdl-common/build.gradle index f054e96..d49bcfe 100644 --- a/HDLSDK/hdl-common/build.gradle +++ b/HDLSDK/hdl-common/build.gradle @@ -1,8 +1,9 @@ plugins { - id 'com.android.library' +// id 'com.android.library' + id 'java-library' } -android { +/*android { compileSdkVersion rootProject.compileSdkVersion defaultConfig { @@ -25,10 +26,13 @@ sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } +}*/ +java { + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 } dependencies { - api 'com.google.code.gson:gson:2.8.8' - api 'androidx.annotation:annotation:1.2.0' - api 'androidx.collection:collection:1.1.0' +// api 'com.google.code.gson:gson:2.8.8' + implementation files('libs\\gson-2.8.8.jar') } \ No newline at end of file -- Gitblit v1.8.0