Skip to content

Commit 54c2694

Browse files
feat: DCMAW-19790 Add network library to API classes - part 1 (#804)
1 parent 145593b commit 54c2694

4 files changed

Lines changed: 11 additions & 3 deletions

File tree

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ turbine = "1.2.1"
3434
uk-gov-logging = "0.39.15" # https://github.com/orgs/govuk-one-login/packages?repo_name=mobile-android-logging
3535
uk-gov-networking = "0.11.0"
3636
uk-gov-ui = "16.7.0"
37-
gov-uk-idcheck = "0.38.0" # https://github.com/govuk-one-login/mobile-id-check-android-sdk/releases
37+
gov-uk-idcheck = "0.39.0" # https://github.com/govuk-one-login/mobile-id-check-android-sdk/releases
3838

3939
[libraries]
4040
android-build-tool = { group = "com.android.tools.build", name = "gradle", version.ref = "agp" }

test-wrapper/src/main/kotlin/uk/gov/onelogin/criorchestrator/testwrapper/hilt/CriOrchestratorSdkHiltModule.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ object CriOrchestratorSdkHiltModule {
2323
analyticsLogger: AnalyticsLogger,
2424
application: Application,
2525
logger: Logger,
26-
httpClient: GenericHttpClient,
26+
@HttpClientGeneric httpClient: GenericHttpClient,
2727
resources: Resources,
2828
): CriOrchestratorSdk =
2929
CriOrchestratorSdk.create(
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
package uk.gov.onelogin.criorchestrator.testwrapper.hilt
2+
3+
import javax.inject.Qualifier
4+
5+
@Qualifier
6+
@Retention(AnnotationRetention.BINARY)
7+
annotation class HttpClientGeneric

test-wrapper/src/main/kotlin/uk/gov/onelogin/criorchestrator/testwrapper/hilt/HttpClientHiltModule.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ import javax.inject.Singleton
1515
object HttpClientHiltModule {
1616
@Provides
1717
@Singleton
18-
fun providesHttpClient(
18+
@HttpClientGeneric
19+
fun providesGenericHttpClient(
1920
resources: Resources,
2021
subjectTokenRepository: SubjectTokenRepository,
2122
): GenericHttpClient =

0 commit comments

Comments
 (0)