123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- apply plugin: 'com.android.application'
- apply plugin: 'com.jakewharton.butterknife'
- android {
- compileSdkVersion 29
- buildToolsVersion "29.0.2"
- defaultConfig {
- applicationId "aicare.net.cn.sdk.ailinksdkdemoandroid"
- minSdkVersion 19
- targetSdkVersion 29
- versionCode 15
- versionName "1.10.2"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
-
- compileOptions {
- sourceCompatibility 1.8
- targetCompatibility 1.8
- }
- sourceSets {
- main {
- jniLibs.srcDirs = ['libs']
- }
- }
-
- }
-
- dependencies {
- implementation fileTree(dir: 'libs', include: ['*.jar'])
- implementation 'androidx.appcompat:appcompat:1.2.0'
- implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
- testImplementation 'junit:junit:4.12'
- implementation 'com.github.elinkthings:AILinkSDKRepositoryAndroid:1.10.2'//蓝牙核心库
- implementation 'com.github.elinkthings:AILinkSDKOtaLibraryAndroid:1.0.3'//OTA库,需要依赖核心库
- implementation 'com.github.elinkthings:AILinkSDKParsingLibraryAndroid:1.6.8'//蓝牙解析库
- implementation 'androidx.recyclerview:recyclerview:1.1.0'
- implementation 'com.jakewharton:butterknife:10.2.0'
- annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.0'
- api 'com.squareup.retrofit2:converter-gson:2.5.0'
- }
|