diff --git a/build.gradle b/build.gradle index 28bdd05b..29330f17 100644 --- a/build.gradle +++ b/build.gradle @@ -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" } diff --git a/owncloudComLibrary/build.gradle b/owncloudComLibrary/build.gradle index 1df5440b..40bb8c6d 100644 --- a/owncloudComLibrary/build.gradle +++ b/owncloudComLibrary/build.gradle @@ -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'