diff --git a/README.md b/README.md index afc9628..635b287 100644 --- a/README.md +++ b/README.md @@ -504,8 +504,8 @@ The reflection adapter requires the following additional dependency: ``` -```groovy -implementation 'com.squareup.moshi:moshi-kotlin:1.7.0' +```kotlin +implementation("com.squareup.moshi:moshi-kotlin:1.7.0") ``` Note that the reflection adapter transitively depends on the `kotlin-reflect` library which is a @@ -540,8 +540,8 @@ add the following to your build to enable the annotation processor: ``` -```groovy -kapt 'com.squareup.moshi:moshi-kotlin-codegen:1.7.0' +```kotlin +kapt("com.squareup.moshi:moshi-kotlin-codegen:1.7.0") ``` You must also have the `kotlin-stdlib` dependency on the classpath during compilation in order for @@ -571,8 +571,8 @@ Download [the latest JAR][dl] or depend via Maven: ``` or Gradle: -```groovy -implementation 'com.squareup.moshi:moshi:1.7.0' +```kotlin +implementation("com.squareup.moshi:moshi:1.7.0") ``` Snapshots of the development version are available in [Sonatype's `snapshots` repository][snap].