Skip to content
This repository was archived by the owner on Jun 6, 2019. It is now read-only.

Commit 67e1905

Browse files
authored
Merge pull request #15 from takahirom/bump-kotlin-to-1.3-M1
Bump Kotlin to 1.3-M1
2 parents 9362f50 + d41c319 commit 67e1905

File tree

7 files changed

+16
-14
lines changed

7 files changed

+16
-14
lines changed

build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
buildscript {
22
repositories {
33
mavenCentral()
4+
maven { url "http://dl.bintray.com/kotlin/kotlin-eap"}
45
}
56
dependencies {
6-
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.10'
7+
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.3-M1'
78
}
89
}
910

@@ -16,12 +17,13 @@ sourceCompatibility = JavaVersion.VERSION_1_6
1617

1718
repositories {
1819
mavenCentral()
20+
maven { url "http://dl.bintray.com/kotlin/kotlin-eap"}
1921
}
2022

2123
dependencies {
2224
api 'com.squareup.retrofit2:retrofit:2.3.0'
2325
api 'org.jetbrains.kotlin:kotlin-stdlib:1.2.10'
24-
api 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.20'
26+
api 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.24.0-eap13'
2527

2628
testImplementation 'junit:junit:4.12'
2729
testImplementation 'com.squareup.okhttp3:mockwebserver:3.9.1'
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package com.jakewharton.retrofit2.adapter.kotlin.coroutines.experimental
16+
package com.jakewharton.retrofit2.adapter.kotlin.coroutines
1717

18-
import kotlinx.coroutines.experimental.CompletableDeferred
19-
import kotlinx.coroutines.experimental.Deferred
18+
import kotlinx.coroutines.CompletableDeferred
19+
import kotlinx.coroutines.Deferred
2020
import retrofit2.Call
2121
import retrofit2.CallAdapter
2222
import retrofit2.Callback
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
@file:Suppress("UNCHECKED_CAST")
22

3-
package com.jakewharton.retrofit2.adapter.kotlin.coroutines.experimental
3+
package com.jakewharton.retrofit2.adapter.kotlin.coroutines
44

55
import com.google.common.reflect.TypeToken
6-
import kotlinx.coroutines.experimental.Deferred
6+
import kotlinx.coroutines.Deferred
77
import org.junit.Assert.assertFalse
88
import org.junit.Assert.assertTrue
99
import org.junit.Test
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.jakewharton.retrofit2.adapter.kotlin.coroutines.experimental
1+
package com.jakewharton.retrofit2.adapter.kotlin.coroutines
22

33
import okhttp3.Request
44
import retrofit2.Call
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package com.jakewharton.retrofit2.adapter.kotlin.coroutines.experimental;
16+
package com.jakewharton.retrofit2.adapter.kotlin.coroutines;
1717

1818
import com.google.common.reflect.TypeToken;
1919
import java.lang.annotation.Annotation;
2020
import java.lang.reflect.Type;
2121
import java.util.List;
22-
import kotlinx.coroutines.experimental.Deferred;
22+
import kotlinx.coroutines.Deferred;
2323
import okhttp3.mockwebserver.MockWebServer;
2424
import org.junit.Before;
2525
import org.junit.Rule;
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package com.jakewharton.retrofit2.adapter.kotlin.coroutines.experimental
16+
package com.jakewharton.retrofit2.adapter.kotlin.coroutines
1717

1818
import com.google.common.truth.Truth.assertThat
19-
import kotlinx.coroutines.experimental.Deferred
20-
import kotlinx.coroutines.experimental.runBlocking
19+
import kotlinx.coroutines.Deferred
20+
import kotlinx.coroutines.runBlocking
2121
import okhttp3.mockwebserver.MockResponse
2222
import okhttp3.mockwebserver.MockWebServer
2323
import okhttp3.mockwebserver.SocketPolicy.DISCONNECT_AFTER_REQUEST
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package com.jakewharton.retrofit2.adapter.kotlin.coroutines.experimental;
16+
package com.jakewharton.retrofit2.adapter.kotlin.coroutines;
1717

1818
import java.io.IOException;
1919
import java.lang.annotation.Annotation;

0 commit comments

Comments
 (0)