diff options
Diffstat (limited to 'app/build.gradle')
-rw-r--r-- | app/build.gradle | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/app/build.gradle b/app/build.gradle index 357d21d4..1046d52f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -2,6 +2,7 @@ apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply plugin: 'kotlin-parcelize' apply plugin: 'kotlin-kapt' +apply plugin: 'dagger.hilt.android.plugin' //apply plugin: 'com.getkeepsafe.dexcount' apply plugin: 'com.gladed.androidgitversion' @@ -52,7 +53,7 @@ android { testInstrumentationRunner "com.pitchedapps.frost.FrostTestRunner" javaCompileOptions { annotationProcessorOptions { - arguments = ["room.schemaLocation": "$projectDir/src/schemas".toString()] + arguments += ["room.schemaLocation": "$projectDir/src/schemas".toString()] } } } @@ -270,10 +271,16 @@ dependencies { implementation "androidx.biometric:biometric:${Versions.andxBiometric}" - implementation kau.Dependencies.koin testImplementation kau.Dependencies.koinTest androidTestImplementation kau.Dependencies.koinTest + implementation kau.Dependencies.hilt + kapt kau.Dependencies.hiltCompiler + testImplementation kau.Dependencies.hiltTest + kaptTest kau.Dependencies.hiltCompiler + androidTestImplementation kau.Dependencies.hiltTest + kaptAndroidTest kau.Dependencies.hiltCompiler + implementation kau.Dependencies.coroutines implementation "org.apache.commons:commons-text:${Versions.apacheCommonsText}" @@ -313,6 +320,10 @@ dependencies { } +kapt { + correctErrorTypes true +} + def kotlinResolutions = ['kotlin-reflect', 'kotlin-stdlib', 'kotlin-stdlib-jdk7', |