Skip to content

Commit b8a38eb

Browse files
committed
merge version 8 (1.1.3)
2 parents 712e7e7 + 5ea4844 commit b8a38eb

File tree

4 files changed

+15
-12
lines changed

4 files changed

+15
-12
lines changed

data/build.gradle

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ dependencies {
4242
// MODULE
4343
implementation project(':domain')
4444

45-
// KOTLIN
46-
//implementation kotlinStdlib
4745
// SUPPORT
4846
api androidXCore
4947
// COMPONENTS
@@ -62,9 +60,9 @@ dependencies {
6260

6361
// DEBUG TOOLS
6462
implementation timber
65-
debugApi chuckDebug
66-
debugTestApi chuckRelease
67-
releaseApi chuckRelease
63+
debugImplementation chuckerDebug
64+
debugTestImplementation chuckerRelease
65+
releaseImplementation chuckerRelease
6866

6967
// TEST
7068
testImplementation junit

data/src/main/java/com/mikhaellopez/data/net/OkHttpClientFactory.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package com.mikhaellopez.data.net
22

33
import android.content.Context
4+
import com.chuckerteam.chucker.api.ChuckerInterceptor
45
import com.mikhaellopez.data.BuildConfig
5-
import com.readystatesoftware.chuck.ChuckInterceptor
66
import okhttp3.OkHttpClient
77
import java.util.concurrent.TimeUnit
88

@@ -24,7 +24,7 @@ open class OkHttpClientFactory {
2424

2525

2626
private fun OkHttpClient.Builder.enableDebugTools(context: Context) {
27-
addInterceptor(ChuckInterceptor(context))
27+
addInterceptor(ChuckerInterceptor.Builder(context).build())
2828
}
2929

3030
private fun OkHttpClient.Builder.updateTimeout(read: Long = 60, write: Long = 60) {

dependencies.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ allprojects {
77

88
ext {
99
// APP VERSION
10-
androidVersionCode = 7
11-
androidVersionName = '1.1.2'
10+
androidVersionCode = 8
11+
androidVersionName = '1.1.3'
1212

1313
// ANDROID VERSION
1414
androidCompileSdkVersion = 33
@@ -52,10 +52,10 @@ ext {
5252
retrofitAdapterRxJava = "com.squareup.retrofit2:adapter-rxjava3:$retrofitVersion"
5353

5454
// DEBUG
55-
chuckVersion = '1.1.0'
55+
chuckerVersion = '3.5.2'
5656
timber = "com.jakewharton.timber:timber:5.0.1"
57-
chuckDebug = "com.readystatesoftware.chuck:library:$chuckVersion"
58-
chuckRelease = "com.readystatesoftware.chuck:library-no-op:$chuckVersion"
57+
chuckerDebug = "com.github.chuckerteam.chucker:library:$chuckerVersion"
58+
chuckerRelease = "com.github.chuckerteam.chucker:library-no-op:$chuckerVersion"
5959

6060
// TEST
6161
junit = "junit:junit:4.13.2"

presentation/build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ android {
5454
kotlinOptions {
5555
jvmTarget = "1.8"
5656
}
57+
configurations {
58+
all {
59+
exclude group: 'androidx.lifecycle', module: 'lifecycle-viewmodel-ktx'
60+
}
61+
}
5762
buildFeatures {
5863
viewBinding true
5964
}

0 commit comments

Comments
 (0)