build.gradle 860 B

123456789101112131415161718192021222324252627282930313233343536
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 29
  4. defaultConfig {
  5. minSdkVersion 15
  6. targetSdkVersion 29
  7. versionCode 1
  8. versionName "1.0"
  9. testInstrumentationRunner "androidx.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 'androidx.appcompat:appcompat:1.0.0'
  24. testImplementation 'junit:junit:4.12'
  25. androidTestImplementation 'androidx.test.ext:junit:1.1.1'
  26. androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
  27. }
  28. apply from: 'bintrayUpload.gradle'