Update to Kotlin 1.4.0 (#1191)

* Update to Kotlin 1.4.0

* Remove moshi-kotlin rules in favor of Kotlin's

* Ignore tests for now

* Update to OptIn

* Update test for kotlin 1.4 behavior
This commit is contained in:
Zac Sweers
2020-08-25 22:51:44 -04:00
committed by GitHub
parent 1283ceed94
commit a5dbc1d642
5 changed files with 71 additions and 33 deletions

View File

@@ -155,8 +155,8 @@
<configuration>
<args>
<!-- So we can declare ourselves as users of KotlinPoetMetadataPreview -->
<arg>-Xuse-experimental=com.squareup.kotlinpoet.metadata.KotlinPoetMetadataPreview</arg>
<arg>-Xuse-experimental=kotlin.Experimental</arg>
<arg>-Xopt-in=com.squareup.kotlinpoet.metadata.KotlinPoetMetadataPreview</arg>
<arg>-Xopt-in=kotlin.OptIn</arg>
</args>
</configuration>
</plugin>