Update to Kotlin 1.1.51.

This commit is contained in:
Eric Cochran 2017-10-28 10:07:05 +01:00
parent 8bf298ac14
commit e0ad48cd97
2 changed files with 1 additions and 7 deletions

View file

@ -17,7 +17,6 @@ package com.squareup.moshi
import org.assertj.core.api.Assertions.assertThat
import org.junit.Assert.fail
import org.junit.Ignore
import org.junit.Test
import java.io.ByteArrayOutputStream
import java.util.Locale
@ -577,11 +576,6 @@ class KotlinJsonAdapterTest {
var v26: Int, var v27: Int, var v28: Int, var v29: Int, var v30: Int,
var v31: Int, var v32: Int)
/**
* Kotlin reflect can't target constructors with more than 32 parameters.
* https://github.com/square/moshi/issues/323
*/
@Ignore
@Test fun manyProperties33() {
val moshi = Moshi.Builder().add(KotlinJsonAdapterFactory()).build()
val jsonAdapter = moshi.adapter(ManyProperties33::class.java)

View file

@ -27,7 +27,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.7</java.version>
<kotlin.version>1.1.1</kotlin.version>
<kotlin.version>1.1.51</kotlin.version>
<!-- Dependencies -->
<okio.version>1.13.0</okio.version>