build.gradle 917 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. apply plugin: 'com.android.library'
  2. apply from: '../mavenpush.gradle'
  3. android {
  4. compileSdkVersion ANDROID_COMPILE_SDK_VERSION as int
  5. defaultConfig {
  6. minSdkVersion 14
  7. targetSdkVersion 27
  8. versionCode 22
  9. versionName "2.2.0-native"
  10. vectorDrawables.useSupportLibrary = true
  11. }
  12. buildTypes {
  13. release {
  14. minifyEnabled false
  15. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  16. }
  17. }
  18. compileOptions {
  19. sourceCompatibility JavaVersion.VERSION_1_8
  20. targetCompatibility JavaVersion.VERSION_1_8
  21. }
  22. lintOptions {
  23. abortOnError false
  24. }
  25. resourcePrefix 'ucrop_'
  26. sourceSets.main {
  27. jni.srcDirs = [];
  28. }
  29. }
  30. dependencies {
  31. implementation "com.android.support:appcompat-v7:$supportLibVersion"
  32. compileOnly 'com.squareup.okhttp3:okhttp:3.11.0'
  33. }