build.gradle 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 28
  4. buildToolsVersion '28.0.3'
  5. defaultConfig {
  6. minSdkVersion 16
  7. targetSdkVersion 28
  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. lintOptions {
  17. checkReleaseBuilds false
  18. // Or, if you prefer, you can continue to check for errors in release builds,
  19. // but continue the build even when errors are found:
  20. abortOnError false
  21. }
  22. }
  23. dependencies {
  24. //release时需要把hyphenatechatsdk的依赖注释掉,sdk已经被打成jar包放在libs底下
  25. // //api project(':hyphenatechatsdk')
  26. api 'com.hyphenate:hyphenate-sdk:3.6.2'
  27. api fileTree(dir: 'libs', include: ['*.jar'])
  28. api 'com.github.bumptech.glide:glide:4.7.1'
  29. api 'com.google.android.gms:play-services-base:11.4.0'
  30. testImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
  31. exclude group: 'com.android.support', module: 'support-annotations'
  32. })
  33. api 'com.android.support:appcompat-v7:28.0.0-alpha1'
  34. testImplementation 'junit:junit:4.12'
  35. implementation 'com.hjq:toast:8.0'
  36. implementation 'org.simple:androideventbus:1.0.5.1'
  37. }