Skip to content

Commit

Permalink
Downgrade okhttp and moshi versions to work with 1.3.x Kotlin
Browse files Browse the repository at this point in the history
  • Loading branch information
scana committed Nov 20, 2020
1 parent 21ec996 commit b9282cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {
}

group = "co.brainly"
version = "0.5.0"
version = "0.5.1"

gradlePlugin {
plugins {
Expand Down Expand Up @@ -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")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class OneSkyApiClient(
) {

private val moshi = Moshi.Builder()
.addLast(KotlinJsonAdapterFactory())
.add(KotlinJsonAdapterFactory())
.build()

private val okHttpClient = OkHttpClient.Builder()
Expand Down

0 comments on commit b9282cc

Please sign in to comment.