Skip to content

Commit

Permalink
Use KSP instead of KAPT when generating Moshi models
Browse files Browse the repository at this point in the history
  • Loading branch information
Bartosz Wesolowski committed Sep 13, 2021
1 parent 6522806 commit d543c79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ buildscript {
plugins {
id "java"
id "org.jetbrains.kotlin.jvm" version "1.5.30"
id "org.jetbrains.kotlin.kapt" version "1.5.30"
id "com.google.devtools.ksp" version "1.5.30-1.0.0"
id "maven-publish"
id "com.github.ben-manes.versions" version "0.39.0"
id 'com.autonomousapps.dependency-analysis' version "0.76.0"
Expand Down Expand Up @@ -49,5 +49,5 @@ tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
dependencies {
api 'com.squareup.retrofit2:retrofit:2.9.0'
api 'com.squareup.moshi:moshi-kotlin:1.12.0'
kapt 'com.squareup.moshi:moshi-kotlin-codegen:1.12.0'
ksp 'dev.zacsweers.moshix:moshi-ksp:0.14.0'
}

0 comments on commit d543c79

Please sign in to comment.