build.gradle 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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 29
  7. defaultConfig {
  8. minSdkVersion 19
  9. targetSdkVersion 29
  10. versionCode 1
  11. versionName "1.0"
  12. multiDexEnabled true
  13. vectorDrawables.useSupportLibrary = true
  14. testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
  15. }
  16. buildTypes {
  17. release {
  18. minifyEnabled false
  19. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  20. }
  21. }
  22. lintOptions {
  23. checkReleaseBuilds false
  24. // Or, if you prefer, you can continue to check for errors in release builds,
  25. // but continue the build even when errors are found:
  26. abortOnError false
  27. }
  28. compileOptions {
  29. sourceCompatibility JavaVersion.VERSION_1_8
  30. targetCompatibility JavaVersion.VERSION_1_8
  31. }
  32. kotlinOptions {
  33. jvmTarget = JavaVersion.VERSION_1_8.toString()
  34. }
  35. }
  36. dependencies {
  37. implementation 'androidx.appcompat:appcompat:1.2.0'
  38. testImplementation 'junit:junit:4.12'
  39. androidTestImplementation 'androidx.test.ext:junit:1.1.1'
  40. androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
  41. implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
  42. implementation 'io.paperdb:paperdb:2.6'
  43. //Runtime permissions
  44. implementation 'com.afollestad.assent:core:3.0.0-RC4'
  45. implementation 'com.android.support:design:29.0.0'
  46. implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
  47. }
  48. repositories {
  49. mavenCentral()
  50. }