diff --git a/build.gradle b/build.gradle index 342e570..8acb90d 100755 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,5 @@ buildscript { - ext.kotlin_version = '0.13.1513' + ext.kotlin_version = '0.14.449' repositories { jcenter() } dependencies { classpath 'com.netflix.nebula:gradle-rxjava-project-plugin:2.+', "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } @@ -11,7 +11,7 @@ apply plugin: 'kotlin' dependencies { compile 'io.reactivex:rxjava:1.0.+' compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" - compile 'org.funktionale:funktionale:0.6_M13' + testCompile 'org.funktionale:funktionale:0.6_M14' testCompile 'junit:junit:4.12' testCompile 'org.mockito:mockito-core:1.8.5' examplesCompile 'com.squareup.retrofit:retrofit:1.9.+' diff --git a/src/examples/kotlin/rx/lang/kotlin/examples/retrofit.kt b/src/examples/kotlin/rx/lang/kotlin/examples/retrofit/retrofit.kt similarity index 97% rename from src/examples/kotlin/rx/lang/kotlin/examples/retrofit.kt rename to src/examples/kotlin/rx/lang/kotlin/examples/retrofit/retrofit.kt index 1a6ae0e..0f99846 100644 --- a/src/examples/kotlin/rx/lang/kotlin/examples/retrofit.kt +++ b/src/examples/kotlin/rx/lang/kotlin/examples/retrofit/retrofit.kt @@ -1,10 +1,9 @@ package rx.lang.kotlin.examples.retrofit -import retrofit.http.GET -import retrofit.http.Path -import rx.Observable import retrofit.RestAdapter +import retrofit.http.GET import retrofit.http.Query +import rx.Observable data class SearchResultEntry(val id : String, val latestVersion : String) data class SearchResults(val docs : List)