build.gradle 884 B

1234567891011121314151617181920212223242526272829303132333435
  1. apply plugin: plugin.androidLibrary
  2. android {
  3. compileSdkVersion androidBuild.compileSdkVersion
  4. defaultConfig {
  5. minSdkVersion androidBuild.libraryMinSdkVersion
  6. targetSdkVersion androidBuild.libraryTargetSdkVersion
  7. consumerProguardFiles 'proguard-rules.txt'
  8. }
  9. compileOptions {
  10. sourceCompatibility JavaVersion.VERSION_1_8
  11. targetCompatibility JavaVersion.VERSION_1_8
  12. }
  13. buildTypes {
  14. release {
  15. buildConfigField "java.lang.String", "PROJECT_VERSION", "\"${POM_VERSION}\""
  16. }
  17. debug {
  18. buildConfigField "java.lang.String", "PROJECT_VERSION", "\"${POM_VERSION}\""
  19. }
  20. }
  21. }
  22. dependencies {
  23. api project(':annotation')
  24. implementation deps.apache.httpcore
  25. implementation deps.apache.fileupload
  26. compileOnly deps.android.annotation
  27. }
  28. apply from: publishScript