build.gradle 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. apply plugin: 'com.android.library'
  2. apply plugin: 'com.jakewharton.butterknife'
  3. android {
  4. compileSdkVersion 28
  5. defaultConfig {
  6. minSdkVersion 15
  7. // targetSdkVersion 22
  8. targetSdkVersion 28
  9. versionCode 1
  10. versionName "1.0"
  11. ndk{
  12. abiFilters "armeabi"
  13. }
  14. }
  15. buildTypes {
  16. release {
  17. minifyEnabled false
  18. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  19. }
  20. }
  21. // Butterknife requires Java 8.
  22. compileOptions {
  23. sourceCompatibility 1.8
  24. targetCompatibility 1.8
  25. }
  26. sourceSets {
  27. main {
  28. jniLibs.srcDirs = ['libs']
  29. }
  30. }
  31. }
  32. dependencies {
  33. api fileTree(dir: 'libs', include: ['*.jar'])
  34. api project(':commonLib')
  35. api 'com.android.support:appcompat-v7:28.0.0'
  36. api 'com.android.support:design:28.0.0'
  37. api 'com.google.android:flexbox:1.0.0'
  38. api 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.44'
  39. api 'com.google.code.gson:gson:2.8.5'
  40. // api "org.permissionsdispatcher:permissionsdispatcher:3.3.1"
  41. // annotationProcessor "org.permissionsdispatcher:permissionsdispatcher-processor:3.3.1"
  42. }