Skip to content

Commit 8034670

Browse files
committed
Chore: network 모듈 hilt 의존성 제거
1 parent ac07ae0 commit 8034670

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

core/network/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
plugins {
22
alias(libs.plugins.bitnagil.android.library)
3-
alias(libs.plugins.bitnagil.android.hilt)
43
alias(libs.plugins.kotlin.serialization)
54
}
65

core/network/src/main/java/com/threegap/bitnagil/network/auth/AuthInterceptor.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ import com.threegap.bitnagil.network.token.TokenProvider
44
import kotlinx.coroutines.runBlocking
55
import okhttp3.Interceptor
66
import okhttp3.Response
7-
import javax.inject.Inject
87

9-
class AuthInterceptor @Inject constructor(
8+
class AuthInterceptor(
109
private val tokenProvider: TokenProvider,
1110
) : Interceptor {
1211
override fun intercept(chain: Interceptor.Chain): Response {

core/network/src/main/java/com/threegap/bitnagil/network/auth/TokenAuthenticator.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ import okhttp3.Authenticator
55
import okhttp3.Request
66
import okhttp3.Response
77
import okhttp3.Route
8-
import javax.inject.Inject
98

10-
class TokenAuthenticator @Inject constructor() : Authenticator {
9+
class TokenAuthenticator : Authenticator {
1110

1211
override fun authenticate(route: Route?, response: Response): Request? {
1312
if (response.code != UNAUTHORIZED) return null

0 commit comments

Comments
 (0)