mirror of
https://github.com/fankes/moshi.git
synced 2025-10-18 23:49:21 +08:00
Fix codegen dependency configuration
annotationProcessor configuration is for java. Kotlin uses kapt
This commit is contained in:
@@ -541,7 +541,7 @@ add the following to your build to enable the annotation processor:
|
|||||||
```
|
```
|
||||||
|
|
||||||
```groovy
|
```groovy
|
||||||
annotationProcessor 'com.squareup.moshi:moshi-kotlin-codegen:1.6.0'
|
kapt 'com.squareup.moshi:moshi-kotlin-codegen:1.6.0'
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Limitations
|
#### Limitations
|
||||||
|
Reference in New Issue
Block a user