From 145de2dcd3124f236e7d06bcdee17c7be08048b1 Mon Sep 17 00:00:00 2001 From: panlili2024 <14743743+panlili2024@user.noreply.gitee.com> Date: 星期一, 11 十一月 2024 18:34:13 +0800 Subject: [PATCH] 修改搜索按照index索引 --- HDL_TTLSDK485/build.gradle | 21 ++++++++++----------- 1 files changed, 10 insertions(+), 11 deletions(-) diff --git a/HDL_TTLSDK485/build.gradle b/HDL_TTLSDK485/build.gradle index 06f5296..905b95b 100644 --- a/HDL_TTLSDK485/build.gradle +++ b/HDL_TTLSDK485/build.gradle @@ -2,18 +2,18 @@ //apply plugin: 'com.novoda.bintray-release' android { - buildToolsVersion '28.0.3' - compileSdkVersion 28 + buildToolsVersion '30.0.2' + compileSdkVersion 30 defaultConfig { minSdkVersion 17 - targetSdkVersion 28 - versionCode 1 - versionName "1.0.1" + targetSdkVersion 30 + versionCode 7 + versionName "1.2.4" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" ndk { moduleName "serial_port" - abiFilters "armeabi-v7a","x86" + abiFilters "armeabi-v7a", "x86", "arm64-v8a" } } buildTypes { @@ -35,7 +35,7 @@ */ android.libraryVariants.all { variant -> variant.outputs.all { - outputFileName = "HDL_TTLSDK485_V" + + outputFileName = "HDL_BusSDK485_V" + defaultConfig.versionName + ".B" + defaultConfig.versionCode + "." + releaseTime() + ".aar" } } @@ -52,10 +52,11 @@ } dependencies { - implementation fileTree(include: ['*.jar','*.aar'], dir: 'libs') + implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs') implementation 'com.android.support:appcompat-v7:28.0.0' api 'org.greenrobot:eventbus:3.0.0' -// api 'com.google.code.gson:gson:2.8.5' + api 'com.google.code.gson:gson:2.8.8' + api 'com.licheedev:android-serialport:2.1.3' // testImplementation 'junit:junit:4.12' // androidTestImplementation 'com.android.support.test:runner:1.0.2' // androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' @@ -78,8 +79,6 @@ // rename ('classes.jar','test.jar') //} //makeJar.dependsOn(build) - - //publish { -- Gitblit v1.8.0