|
|
@@ -4,13 +4,13 @@ apply plugin: 'kotlin-android-extensions'
|
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
|
|
android {
|
|
|
- compileSdkVersion 29
|
|
|
+ compileSdkVersion rootProject.compileSdkVersion
|
|
|
buildToolsVersion "29.0.3"
|
|
|
|
|
|
defaultConfig {
|
|
|
applicationId "com.mrozon.healthdiary"
|
|
|
- minSdkVersion 21
|
|
|
- targetSdkVersion 29
|
|
|
+ minSdkVersion rootProject.minSdkVersion
|
|
|
+ targetSdkVersion rootProject.targetSdkVersion
|
|
|
versionCode 1
|
|
|
versionName "1.0"
|
|
|
|
|
|
@@ -26,6 +26,10 @@ android {
|
|
|
dataBinding {
|
|
|
enabled = true
|
|
|
}
|
|
|
+ compileOptions {
|
|
|
+ sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
+ targetCompatibility JavaVersion.VERSION_1_8
|
|
|
+ }
|
|
|
kotlinOptions {
|
|
|
jvmTarget = '1.8'
|
|
|
}
|
|
|
@@ -33,28 +37,25 @@ android {
|
|
|
|
|
|
}
|
|
|
|
|
|
+apply from: "$project.rootDir/scripts/deps_versions.gradle"
|
|
|
+
|
|
|
dependencies {
|
|
|
- implementation project(':core')
|
|
|
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
|
|
|
//DAGGER
|
|
|
- def dagger_version = "2.21"
|
|
|
- implementation "com.google.dagger:dagger:$dagger_version"
|
|
|
- kapt "com.google.dagger:dagger-compiler:$dagger_version"
|
|
|
- implementation "com.google.dagger:dagger-android-support:$dagger_version"
|
|
|
- kapt "com.google.dagger:dagger-android-processor:$dagger_version"
|
|
|
+ implementation dagger
|
|
|
+ kapt daggerCompiler
|
|
|
//NAVIGATION
|
|
|
- def nav_version = "2.3.0"
|
|
|
- implementation "androidx.navigation:navigation-fragment-ktx:$nav_version"
|
|
|
- implementation "androidx.navigation:navigation-ui-ktx:$nav_version"
|
|
|
- // Dynamic Feature Module Support
|
|
|
- implementation "androidx.navigation:navigation-dynamic-features-fragment:$nav_version"
|
|
|
+ implementation navigationFragment
|
|
|
+ implementation navigationUi
|
|
|
+ implementation navigationDynamicFeatures
|
|
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
|
- implementation 'androidx.appcompat:appcompat:1.1.0'
|
|
|
+ implementation 'androidx.appcompat:appcompat:1.2.0'
|
|
|
implementation 'androidx.core:core-ktx:1.3.1'
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
|
|
testImplementation 'junit:junit:4.12'
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
|
|
+ implementation project(':utils')
|
|
|
}
|