| | |
| | | targetSdkVersion rootProject.targetSdkVersion |
| | | versionCode 2 |
| | | |
| | | versionName "1.0.10" |
| | | versionName "1.0.13" |
| | | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" |
| | | consumerProguardFiles "consumer-rules.pro" |
| | | } |
| | |
| | | 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') |
| | | } |