diff --git a/plugin/build.gradle.kts b/plugin/build.gradle.kts index 3ec637b..ffd27dd 100644 --- a/plugin/build.gradle.kts +++ b/plugin/build.gradle.kts @@ -8,7 +8,7 @@ plugins { } group = "co.brainly" -version = "0.5.0" +version = "0.5.1" gradlePlugin { plugins { @@ -46,9 +46,9 @@ repositories { dependencies { compileOnly(gradleApi()) - val okHttp = "4.9.0" + val okHttp = "4.8.1" implementation("com.squareup.okhttp3:okhttp:$okHttp") - val moshi = "1.11.0" + val moshi = "1.9.3" implementation("com.squareup.moshi:moshi:$moshi") implementation("com.squareup.moshi:moshi-kotlin:$moshi") diff --git a/plugin/src/main/java/co/brainly/onesky/client/OneSkyApiClient.kt b/plugin/src/main/java/co/brainly/onesky/client/OneSkyApiClient.kt index a6ebb2e..35ebedd 100644 --- a/plugin/src/main/java/co/brainly/onesky/client/OneSkyApiClient.kt +++ b/plugin/src/main/java/co/brainly/onesky/client/OneSkyApiClient.kt @@ -20,7 +20,7 @@ class OneSkyApiClient( ) { private val moshi = Moshi.Builder() - .addLast(KotlinJsonAdapterFactory()) + .add(KotlinJsonAdapterFactory()) .build() private val okHttpClient = OkHttpClient.Builder()