Skip to content

Commit

Permalink
Merge pull request #26 from coinpaprika/ksp
Browse files Browse the repository at this point in the history
Use KSP instead of KAPT when generating Moshi models
  • Loading branch information
bartek-wesolowski authored Sep 14, 2021
2 parents 758aae4 + d543c79 commit 3882166
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 3882166

Please sign in to comment.