1
0
mirror of https://github.com/owncloud/android-library.git synced 2025-06-05 23:16:13 +00:00

Replace kapt with ksp

This commit is contained in:
Abel García de Prada 2023-03-09 11:50:54 +01:00
parent 0e9f9c6391
commit 6846e25fa3
2 changed files with 7 additions and 2 deletions

View File

@ -16,6 +16,10 @@ buildscript {
}
}
plugins {
id 'com.google.devtools.ksp' version '1.8.10-1.0.9' apply false
}
allprojects {
repositories {
google()
@ -26,4 +30,5 @@ allprojects {
subprojects {
apply plugin: "org.jlleitschuh.gradle.ktlint"
apply plugin: "com.google.devtools.ksp"
}

View File

@ -1,6 +1,6 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
apply plugin: 'com.google.devtools.ksp'
apply plugin: 'kotlin-parcelize'
dependencies {
@ -14,7 +14,7 @@ dependencies {
exclude module: "kotlin-reflect"
}
implementation 'org.apache.commons:commons-lang3:3.12.0'
kapt "com.squareup.moshi:moshi-kotlin-codegen:$comSquareupMoshi"
ksp "com.squareup.moshi:moshi-kotlin-codegen:$comSquareupMoshi"
testImplementation 'junit:junit:4.13.2'
testImplementation 'org.robolectric:robolectric:4.9.2'