build.gradle 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. apply plugin: 'com.android.application'
  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. applicationId "com.mrozon.healthdiary"
  10. minSdkVersion rootProject.minSdkVersion
  11. targetSdkVersion rootProject.targetSdkVersion
  12. versionCode 1
  13. versionName "1.0"
  14. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  15. }
  16. buildTypes {
  17. release {
  18. minifyEnabled true
  19. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  20. }
  21. staging {
  22. minifyEnabled true
  23. signingConfig debug.signingConfig
  24. }
  25. }
  26. dataBinding {
  27. enabled = true
  28. }
  29. compileOptions {
  30. sourceCompatibility JavaVersion.VERSION_1_8
  31. targetCompatibility JavaVersion.VERSION_1_8
  32. }
  33. kotlinOptions {
  34. jvmTarget = '1.8'
  35. }
  36. }
  37. apply from: "$project.rootDir/scripts/deps_versions.gradle"
  38. dependencies {
  39. api project(':core_api')
  40. implementation project(':core')
  41. implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
  42. implementation dagger
  43. kapt daggerCompiler
  44. implementation navigationFragment
  45. implementation navigationUi
  46. implementation navigationDynamicFeatures
  47. implementation timber
  48. implementation constraintlayout
  49. implementation cardview
  50. implementation recyclerview
  51. implementation material
  52. implementation fileTree(dir: 'libs', include: ['*.jar'])
  53. implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
  54. implementation 'androidx.appcompat:appcompat:1.2.0'
  55. implementation 'androidx.core:core-ktx:1.3.1'
  56. testImplementation 'junit:junit:4.12'
  57. androidTestImplementation 'androidx.test.ext:junit:1.1.1'
  58. androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
  59. implementation project(':utils')
  60. implementation project(':feature_splash')
  61. implementation project(':feature_auth')
  62. implementation project(':feature_person')
  63. implementation project(':feature_measure_type')
  64. }