Reference 1.8 in the README
This commit is contained in:
parent
6b6c1af907
commit
98459dd8ab
1 changed files with 6 additions and 6 deletions
12
README.md
12
README.md
|
@ -500,12 +500,12 @@ The reflection adapter requires the following additional dependency:
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.squareup.moshi</groupId>
|
<groupId>com.squareup.moshi</groupId>
|
||||||
<artifactId>moshi-kotlin</artifactId>
|
<artifactId>moshi-kotlin</artifactId>
|
||||||
<version>1.7.0</version>
|
<version>1.8.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
|
|
||||||
```kotlin
|
```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
|
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>
|
<dependency>
|
||||||
<groupId>com.squareup.moshi</groupId>
|
<groupId>com.squareup.moshi</groupId>
|
||||||
<artifactId>moshi-kotlin-codegen</artifactId>
|
<artifactId>moshi-kotlin-codegen</artifactId>
|
||||||
<version>1.7.0</version>
|
<version>1.8.0</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
|
|
||||||
```kotlin
|
```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
|
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>
|
<dependency>
|
||||||
<groupId>com.squareup.moshi</groupId>
|
<groupId>com.squareup.moshi</groupId>
|
||||||
<artifactId>moshi</artifactId>
|
<artifactId>moshi</artifactId>
|
||||||
<version>1.7.0</version>
|
<version>1.8.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
or Gradle:
|
or Gradle:
|
||||||
```kotlin
|
```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].
|
Snapshots of the development version are available in [Sonatype's `snapshots` repository][snap].
|
||||||
|
|
Loading…
Reference in a new issue