hxb
2022-04-13 a61093fc99633b2e5d6a7a14ddd91f26ce2e24ab
HDLSDK/hdl-common/build.gradle
@@ -9,9 +9,8 @@
        minSdkVersion rootProject.minSdkVersion
        targetSdkVersion rootProject.targetSdkVersion
        versionCode 2
        versionName "1.0.3"
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
        versionName "1.0.15"
        consumerProguardFiles "consumer-rules.pro"
    }
@@ -25,20 +24,10 @@
        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')
    api 'com.android.support:support-annotations:28.0.0"'
    api 'com.android.support:collections:28.0.0'
}