充电桩app代码

build.gradle 1.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 25
  4. buildToolsVersion '28.0.3'
  5. defaultConfig {
  6. minSdkVersion 15
  7. targetSdkVersion 22
  8. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  9. }
  10. buildTypes {
  11. release {
  12. minifyEnabled false
  13. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  14. }
  15. }
  16. }
  17. repositories {
  18. mavenCentral()
  19. maven { url 'https://maven.google.com' }
  20. }
  21. dependencies {
  22. compile fileTree(include: ['*.jar'], dir: 'libs')
  23. androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
  24. exclude group: 'com.android.support', module: 'support-annotations'
  25. })
  26. compile 'pub.devrel:easypermissions:0.2.0'
  27. compile 'com.google.code.gson:gson:2.2.4'
  28. // compile 'com.github.bumptech.glide:glide:4.1.1'
  29. compile 'com.github.bumptech.glide:glide:4.2.0'
  30. // compile 'com.google.zxing:core:+'
  31. // compile 'com.google.zxing:android-core:+'
  32. // 扫码时防止24以下的系统奔溃
  33. compile 'com.google.zxing:core:3.3.3'
  34. compile 'com.google.zxing:android-core:3.2.0'
  35. compile 'com.blankj:utilcode:1.9.8'
  36. compile 'com.zhy:okhttputils:2.4.1'
  37. compile 'com.alibaba:fastjson:1.1.64.android'
  38. compile 'org.zackratos:ultimatebar:1.1.1'
  39. }