build.gradle 891 B

123456789101112131415161718192021222324252627282930313233343536
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 28
  4. defaultConfig {
  5. minSdkVersion 15
  6. targetSdkVersion 28
  7. versionCode 1
  8. versionName "1.0"
  9. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  10. }
  11. buildTypes {
  12. release {
  13. minifyEnabled true
  14. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  15. }
  16. }
  17. lintOptions {
  18. abortOnError false
  19. }
  20. }
  21. dependencies {
  22. implementation fileTree(dir: 'libs', include: ['*.jar'])
  23. implementation 'com.android.support:appcompat-v7:28.0.0'
  24. testImplementation 'junit:junit:4.12'
  25. androidTestImplementation 'com.android.support.test:runner:1.0.2'
  26. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  27. }
  28. apply from: 'bintrayUpload.gradle'