From 755e9eb727c983c2da62fb7e8220d54f866c2834 Mon Sep 17 00:00:00 2001 From: Vahid Garousi Date: Fri, 17 Mar 2023 11:58:46 +0330 Subject: [PATCH] Adding hilt dependencies in :core:common and :core:network:light-streamer for #56 --- core/common/build.gradle | 5 +++++ core/network/light-streamer/build.gradle | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/core/common/build.gradle b/core/common/build.gradle index ccb571f..4dafe0a 100644 --- a/core/common/build.gradle +++ b/core/common/build.gradle @@ -1,6 +1,8 @@ plugins { id 'com.android.library' id 'org.jetbrains.kotlin.android' + id 'kotlin-kapt' + id 'com.google.dagger.hilt.android' } android { @@ -38,4 +40,7 @@ dependencies { testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.1.5' androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1' + + implementation "com.google.dagger:hilt-android:2.44.2" + kapt "com.google.dagger:hilt-compiler:2.44.2" } \ No newline at end of file diff --git a/core/network/light-streamer/build.gradle b/core/network/light-streamer/build.gradle index 6aa4c76..2760992 100644 --- a/core/network/light-streamer/build.gradle +++ b/core/network/light-streamer/build.gradle @@ -1,6 +1,8 @@ plugins { id 'com.android.library' id 'org.jetbrains.kotlin.android' + id 'kotlin-kapt' + id 'com.google.dagger.hilt.android' } android { @@ -38,7 +40,13 @@ dependencies { implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4" + implementation project(":core:common") api "com.lightstreamer:ls-android-client:4.2.6" api "com.lightstreamer:ls-log-adapter-java:1.0.2" + implementation "com.google.dagger:hilt-android:2.44.2" + kapt "com.google.dagger:hilt-compiler:2.44.2" + + androidTestImplementation 'com.google.dagger:hilt-android-testing:2.44.2' + kaptAndroidTest 'com.google.dagger:hilt-android-compiler:2.44.2' } \ No newline at end of file