build.gradle 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. //DAGGER
  38. implementation dagger
  39. implementation 'androidx.legacy:legacy-support-v4:1.0.0'
  40. kapt daggerCompiler
  41. implementation project(':utils')
  42. implementation constraintlayout
  43. //Timber
  44. implementation timber
  45. implementation navigationFragment
  46. implementation fileTree(dir: "libs", include: ["*.jar"])
  47. implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
  48. implementation 'androidx.core:core-ktx:1.3.1'
  49. implementation 'androidx.appcompat:appcompat:1.2.0'
  50. testImplementation 'junit:junit:4.12'
  51. androidTestImplementation 'androidx.test.ext:junit:1.1.1'
  52. androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
  53. }