Reference 1.8 in the README

This commit is contained in:
Jesse Wilson 2018-11-09 09:41:10 +10:00 committed by GitHub
parent 6b6c1af907
commit 98459dd8ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -500,12 +500,12 @@ The reflection adapter requires the following additional dependency:
<dependency>
<groupId>com.squareup.moshi</groupId>
<artifactId>moshi-kotlin</artifactId>
<version>1.7.0</version>
<version>1.8.0</version>
</dependency>
```
```kotlin
implementation("com.squareup.moshi:moshi-kotlin:1.7.0")
implementation("com.squareup.moshi:moshi-kotlin:1.8.0")
```
Note that the reflection adapter transitively depends on the `kotlin-reflect` library which is a
@ -535,13 +535,13 @@ add the following to your build to enable the annotation processor:
<dependency>
<groupId>com.squareup.moshi</groupId>
<artifactId>moshi-kotlin-codegen</artifactId>
<version>1.7.0</version>
<version>1.8.0</version>
<scope>provided</scope>
</dependency>
```
```kotlin
kapt("com.squareup.moshi:moshi-kotlin-codegen:1.7.0")
kapt("com.squareup.moshi:moshi-kotlin-codegen:1.8.0")
```
You must also have the `kotlin-stdlib` dependency on the classpath during compilation in order for
@ -567,12 +567,12 @@ Download [the latest JAR][dl] or depend via Maven:
<dependency>
<groupId>com.squareup.moshi</groupId>
<artifactId>moshi</artifactId>
<version>1.7.0</version>
<version>1.8.0</version>
</dependency>
```
or Gradle:
```kotlin
implementation("com.squareup.moshi:moshi:1.7.0")
implementation("com.squareup.moshi:moshi:1.8.0")
```
Snapshots of the development version are available in [Sonatype's `snapshots` repository][snap].