From 4a4ed8210c58dba28deea1a6e69c3671ae1a7dd0 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期五, 10 十二月 2021 17:28:50 +0800 Subject: [PATCH] 2021-12-10 1.更新 --- HDLSDK/hdl-common/build.gradle | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/HDLSDK/hdl-common/build.gradle b/HDLSDK/hdl-common/build.gradle index 673c577..bf176d1 100644 --- a/HDLSDK/hdl-common/build.gradle +++ b/HDLSDK/hdl-common/build.gradle @@ -9,7 +9,7 @@ minSdkVersion rootProject.minSdkVersion targetSdkVersion rootProject.targetSdkVersion versionCode 1 - versionName "1.0" + versionName "1.0.1" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" consumerProguardFiles "consumer-rules.pro" @@ -25,10 +25,20 @@ sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } + + /** + * 鎵撳寘鑷姩鍛藉悕 + */ + android.libraryVariants.all { variant -> + variant.outputs.all { + outputFileName = "hdl-common-V" + defaultConfig.versionName + ".aar" + } + } } 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 project(path: ':hdl-connect') } \ No newline at end of file -- Gitblit v1.8.0