選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

build.gradle 1.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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 16
  9. versionName "1.3.6"
  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. android.applicationVariants.all { variants ->
  26. variants.outputs.all { output ->
  27. outputFileName ="iweightdemo_${defaultConfig.versionName}.apk"
  28. }
  29. }
  30. repositories {
  31. flatDir {
  32. dirs 'libs'
  33. }
  34. }
  35. }
  36. dependencies {
  37. implementation fileTree(include: ['*.jar'], dir: 'libs')
  38. implementation 'androidx.appcompat:appcompat:1.1.0'
  39. implementation 'com.google.android.material:material:1.1.0'
  40. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  41. testImplementation 'junit:junit:4.12'
  42. implementation 'com.github.elinkthings:BodyFatScaleSDKRepositoryAndroid:1.3.6'
  43. }