From e59f26fcb4bb63f222aafbea267d7715bbcf47e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vedran=20Pri=C5=A1=C4=87an?= Date: Sat, 19 Sep 2020 20:41:24 +0200 Subject: [PATCH] Update Kotlin, RxJava, and Retrofit example app --- build.gradle.kts | 10 +++++----- .../rxjava3/kotlin/examples/retrofit/retrofit.kt | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 43a8a84..02f63c0 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -11,7 +11,7 @@ buildscript { plugins { id("java-library") - kotlin("jvm") version "1.4.0" + kotlin("jvm") version "1.4.10" id("org.jetbrains.dokka") version "0.9.18" id("maven-publish") id("com.jfrog.bintray") version "1.8.4" @@ -39,16 +39,16 @@ val examplesImplementation by configurations.getting { } dependencies { - api("io.reactivex.rxjava3:rxjava:3.0.0") + api("io.reactivex.rxjava3:rxjava:3.0.6") implementation(kotlin("stdlib")) testImplementation("org.funktionale:funktionale-partials:1.0.0-final") testImplementation("junit:junit:4.12") testImplementation("org.mockito:mockito-core:1.10.19") - examplesImplementation("com.squareup.retrofit2:retrofit:2.7.1") - examplesImplementation("com.github.akarnokd:rxjava3-retrofit-adapter:3.0.0-RC8") - examplesImplementation("com.squareup.retrofit2:converter-moshi:2.7.1") + examplesImplementation("com.squareup.retrofit2:retrofit:2.9.0") + examplesImplementation("com.squareup.retrofit2:adapter-rxjava3:2.9.0") + examplesImplementation("com.squareup.retrofit2:converter-moshi:2.9.0") } //sources diff --git a/src/examples/kotlin/io/reactivex/rxjava3/kotlin/examples/retrofit/retrofit.kt b/src/examples/kotlin/io/reactivex/rxjava3/kotlin/examples/retrofit/retrofit.kt index 47a0e77..7000310 100644 --- a/src/examples/kotlin/io/reactivex/rxjava3/kotlin/examples/retrofit/retrofit.kt +++ b/src/examples/kotlin/io/reactivex/rxjava3/kotlin/examples/retrofit/retrofit.kt @@ -1,8 +1,8 @@ package io.reactivex.rxjava3.kotlin.examples.retrofit -import hu.akarnokd.rxjava3.retrofit.RxJava3CallAdapterFactory import io.reactivex.rxjava3.core.Observable import retrofit2.Retrofit +import retrofit2.adapter.rxjava3.RxJava3CallAdapterFactory import retrofit2.converter.moshi.MoshiConverterFactory import retrofit2.http.GET import retrofit2.http.Query