panlili2024
2024-11-12 69afac92a320033297d71e901e3c5b65e690f0b2
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 8
        versionName "1.2.5"
        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 {