File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
src/examples/kotlin/rx/lang/kotlin/examples/retrofit Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 11buildscript {
2- ext. kotlin_version = ' 0.13.1513 '
2+ ext. kotlin_version = ' 0.14.449 '
33 repositories { jcenter() }
44 dependencies { classpath ' com.netflix.nebula:gradle-rxjava-project-plugin:2.+' ,
55 " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version " }
@@ -11,7 +11,7 @@ apply plugin: 'kotlin'
1111dependencies {
1212 compile ' io.reactivex:rxjava:1.0.+'
1313 compile " org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version "
14- compile ' org.funktionale:funktionale:0.6_M13 '
14+ testCompile ' org.funktionale:funktionale:0.6_M14 '
1515 testCompile ' junit:junit:4.12'
1616 testCompile ' org.mockito:mockito-core:1.8.5'
1717 examplesCompile ' com.squareup.retrofit:retrofit:1.9.+'
Original file line number Diff line number Diff line change 11package rx.lang.kotlin.examples.retrofit
22
3- import retrofit.http.GET
4- import retrofit.http.Path
5- import rx.Observable
63import retrofit.RestAdapter
4+ import retrofit.http.GET
75import retrofit.http.Query
6+ import rx.Observable
87
98data class SearchResultEntry (val id : String , val latestVersion : String )
109data class SearchResults (val docs : List <SearchResultEntry >)
You can’t perform that action at this time.
0 commit comments