build.gradle 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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 rootProject.compileSdkVersion
  7. buildToolsVersion "29.0.3"
  8. defaultConfig {
  9. minSdkVersion rootProject.minSdkVersion
  10. targetSdkVersion rootProject.targetSdkVersion
  11. versionCode 1
  12. versionName "1.0"
  13. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  14. consumerProguardFiles "consumer-rules.pro"
  15. }
  16. buildTypes {
  17. release {
  18. minifyEnabled false
  19. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  20. }
  21. }
  22. dataBinding {
  23. enabled = true
  24. }
  25. compileOptions {
  26. sourceCompatibility JavaVersion.VERSION_1_8
  27. targetCompatibility JavaVersion.VERSION_1_8
  28. }
  29. kotlinOptions {
  30. jvmTarget = '1.8'
  31. }
  32. }
  33. apply from: "$project.rootDir/scripts/deps_versions.gradle"
  34. dependencies {
  35. api project(':core_api')
  36. implementation project(':core')
  37. implementation dagger
  38. implementation 'androidx.legacy:legacy-support-v4:1.0.0'
  39. kapt daggerCompiler
  40. implementation project(':utils')
  41. implementation constraintlayout
  42. implementation timber
  43. implementation navigationFragment
  44. implementation retrofit
  45. implementation cardview
  46. implementation recyclerview
  47. implementation material
  48. implementation fileTree(dir: "libs", include: ["*.jar"])
  49. implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
  50. implementation 'androidx.core:core-ktx:1.3.1'
  51. implementation 'androidx.appcompat:appcompat:1.2.0'
  52. testImplementation 'junit:junit:4.12'
  53. androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  54. androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  55. }