build.gradle 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. plugins {
  2. //id 'com.android.application'
  3. id 'com.android.library'
  4. }
  5. android {
  6. compileSdkVersion 28
  7. defaultConfig {
  8. //applicationId "com.example.administrator.wingcool_gt9_apk"
  9. minSdkVersion 18
  10. targetSdkVersion 28
  11. versionCode 1
  12. versionName "3.0.4"
  13. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  14. }
  15. /*
  16. android.applicationVariants.all {
  17. variant ->
  18. variant.outputs.all{
  19. //此处指定生成的apk文件名
  20. outputFileName = "WingCoolAPK_V3.0.4_20230523_debug.apk"
  21. }
  22. }
  23. */
  24. lintOptions {
  25. checkReleaseBuilds false
  26. abortOnError false
  27. // 防止在发布的时候出现因MissingTranslation导致Build Failed!
  28. disable 'MissingTranslation'
  29. }
  30. buildTypes {
  31. release {
  32. minifyEnabled false
  33. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  34. }
  35. }
  36. }
  37. dependencies {
  38. implementation 'com.github.PhilJay:MPAndroidChart:v3.0.2'
  39. implementation fileTree(dir: 'libs', include: ['*.jar'])
  40. implementation 'com.android.support:appcompat-v7:28.0.0'
  41. implementation 'com.android.support.constraint:constraint-layout:1.1.3'
  42. testImplementation 'junit:junit:4.12'
  43. androidTestImplementation 'com.android.support.test:runner:1.0.2'
  44. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  45. implementation 'com.android.support:gridlayout-v7:28.0.0'
  46. implementation 'com.google.android.gms:play-services-maps:16.1.0'
  47. implementation 'com.android.support:design:28.0.0'
  48. }