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

build.gradle 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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 18
  9. versionName "1.3.8"
  10. }
  11. buildTypes {
  12. debug {
  13. minifyEnabled false
  14. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  15. }
  16. release {
  17. minifyEnabled true
  18. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  19. }
  20. }
  21. testOptions {
  22. unitTests.returnDefaultValues = true
  23. }
  24. // sourceSets {
  25. // main {
  26. // jniLibs.srcDirs = ['libs']
  27. // }
  28. // }
  29. android.applicationVariants.all { variants ->
  30. variants.outputs.all { output ->
  31. outputFileName ="iweightdemo_${defaultConfig.versionName}.apk"
  32. }
  33. }
  34. repositories {
  35. flatDir {
  36. dirs 'libs'
  37. }
  38. }
  39. }
  40. dependencies {
  41. implementation fileTree(include: ['*.jar'], dir: 'libs')
  42. implementation 'androidx.appcompat:appcompat:1.1.0'
  43. implementation 'com.google.android.material:material:1.1.0'
  44. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  45. testImplementation 'junit:junit:4.12'
  46. implementation 'com.github.elinkthings:BodyFatScaleSDKRepositoryAndroid:1.3.9'
  47. }