| | |
| | | defaultConfig { |
| | | minSdkVersion rootProject.minSdkVersion |
| | | targetSdkVersion rootProject.targetSdkVersion |
| | | versionCode 3 |
| | | versionName "1.0.2" |
| | | versionCode 11 |
| | | versionName "1.2.3" |
| | | |
| | | 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-connect-V" + defaultConfig.versionName + ".aar" |
| | | } |
| | | } |
| | | } |
| | | |
| | | dependencies { |
| | | api project(path: ':hdl-socket') |
| | | implementation 'androidx.appcompat:appcompat:1.2.0' |
| | | implementation 'com.google.android.material:material:1.3.0' |
| | | implementation fileTree(include: ['*.jar'], dir: 'libs') |
| | | |
| | | // //加密 |
| | | // implementation 'cn.hutool:hutool-all:5.6.5' |
| | | // implementation 'org.bouncycastle:bcprov-jdk15on:1.60' |
| | | } |
| | | api 'com.hdl.hdlhttp:hxhttp:1.0.4' |
| | | api 'com.squareup.okhttp3:logging-interceptor:4.9.1' |
| | | api files('libs/hdlSDK_V1.0.7.jar') |
| | | |
| | | api 'com.google.code.gson:gson:2.8.8' |
| | | //二维码 |
| | | api 'com.google.zxing:core:3.4.1' |
| | | //事件总线 |
| | | api 'org.greenrobot:eventbus:3.2.0' |
| | | } |