您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

build.gradle 1.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 29
  4. defaultConfig {
  5. applicationId "aicare.net.cn.sdk.iweightdemo"
  6. minSdkVersion 18
  7. targetSdkVersion 29
  8. versionCode 9
  9. versionName "1.2.7"
  10. }
  11. buildTypes {
  12. release {
  13. minifyEnabled false
  14. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  15. }
  16. }
  17. testOptions {
  18. unitTests.returnDefaultValues = true
  19. }
  20. // sourceSets {
  21. // main {
  22. // jniLibs.srcDirs = ['libs']
  23. // }
  24. // }
  25. repositories {
  26. flatDir {
  27. dirs 'libs'
  28. }
  29. }
  30. }
  31. dependencies {
  32. implementation fileTree(include: ['*.jar'], dir: 'libs')
  33. implementation 'androidx.appcompat:appcompat:1.1.0'
  34. implementation 'com.google.android.material:material:1.1.0'
  35. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  36. testImplementation 'junit:junit:4.12'
  37. implementation 'com.github.elinkthings:BodyFatScaleSDKRepositoryAndroid:1.2.7'
  38. }