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.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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 19
  10. versionName "1.10.61"
  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. repositories {
  24. flatDir {
  25. dirs 'libs'
  26. }
  27. }
  28. sourceSets {
  29. main {
  30. jniLibs.srcDirs = ['libs']
  31. }
  32. }
  33. }
  34. dependencies {
  35. implementation fileTree(dir: 'libs', include: ['*.jar'])
  36. implementation 'androidx.appcompat:appcompat:1.4.2'
  37. implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
  38. testImplementation 'junit:junit:4.12'
  39. implementation 'com.github.elinkthings:AILinkSDKRepositoryAndroid:1.13.1'//蓝牙核心库
  40. implementation 'com.github.elinkthings:AILinkSDKOtaLibraryAndroid:1.0.3'//OTA库,需要依赖核心库
  41. implementation 'com.github.elinkthings:AILinkSDKParsingLibraryAndroid:1.8.4'//蓝牙解析库
  42. implementation 'androidx.recyclerview:recyclerview:1.2.1'
  43. implementation 'com.jakewharton:butterknife:10.2.0'
  44. annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.0'
  45. api 'com.squareup.retrofit2:converter-gson:2.5.0'
  46. // implementation (name: 'modulelibrary-release', ext: 'aar')
  47. }