You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

build.gradle 1.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. apply plugin: 'com.android.application'
  2. apply plugin: 'com.jakewharton.butterknife'
  3. android {
  4. compileSdkVersion 31
  5. defaultConfig {
  6. applicationId "aicare.net.cn.sdk.ailinksdkdemoandroid"
  7. minSdkVersion 19
  8. targetSdkVersion 31
  9. versionCode 16
  10. versionName "1.10.3"
  11. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  12. }
  13. buildTypes {
  14. release {
  15. minifyEnabled false
  16. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  17. }
  18. }
  19. compileOptions {
  20. sourceCompatibility '1.8'
  21. targetCompatibility '1.8'
  22. }
  23. sourceSets {
  24. main {
  25. jniLibs.srcDirs = ['libs']
  26. }
  27. }
  28. }
  29. dependencies {
  30. implementation fileTree(dir: 'libs', include: ['*.jar'])
  31. implementation 'androidx.appcompat:appcompat:1.4.2'
  32. implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
  33. testImplementation 'junit:junit:4.12'
  34. implementation 'com.github.elinkthings:AILinkSDKRepositoryAndroid:1.10.3'//蓝牙核心库
  35. implementation 'com.github.elinkthings:AILinkSDKOtaLibraryAndroid:1.0.3'//OTA库,需要依赖核心库
  36. implementation 'com.github.elinkthings:AILinkSDKParsingLibraryAndroid:1.6.8'//蓝牙解析库
  37. implementation 'androidx.recyclerview:recyclerview:1.1.0'
  38. implementation 'com.jakewharton:butterknife:10.2.0'
  39. annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.0'
  40. api 'com.squareup.retrofit2:converter-gson:2.5.0'
  41. }