build.gradle 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. apply plugin: 'com.android.library'
  2. apply plugin: 'kotlin-android'
  3. apply plugin: 'kotlin-android-extensions'
  4. apply plugin: 'kotlin-kapt'
  5. android {
  6. compileSdkVersion 32
  7. defaultConfig {
  8. minSdkVersion 19
  9. targetSdkVersion 32
  10. multiDexEnabled true
  11. vectorDrawables.useSupportLibrary = true
  12. testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
  13. }
  14. buildTypes {
  15. release {
  16. minifyEnabled false
  17. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  18. }
  19. }
  20. compileOptions {
  21. sourceCompatibility JavaVersion.VERSION_1_8
  22. targetCompatibility JavaVersion.VERSION_1_8
  23. }
  24. kotlinOptions {
  25. jvmTarget = JavaVersion.VERSION_1_8.toString()
  26. }
  27. lint {
  28. abortOnError false
  29. checkReleaseBuilds false
  30. }
  31. }
  32. dependencies {
  33. implementation 'androidx.appcompat:appcompat:1.4.1'
  34. testImplementation 'junit:junit:4.12'
  35. androidTestImplementation 'androidx.test.ext:junit:1.1.3'
  36. androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
  37. implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
  38. implementation 'io.paperdb:paperdb:2.6'
  39. //Runtime permissions
  40. implementation 'com.afollestad.assent:core:3.0.0-RC4'
  41. implementation 'com.android.support:design:32.0.0'
  42. implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
  43. }
  44. repositories {
  45. mavenCentral()
  46. }