Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

Commit c2f32b2

Browse files
authored
Merge pull request #548 from owncloud/technical/replace_kapt_with_ksp
[Technical] Replace kapt with ksp
2 parents 0e9f9c6 + 6846e25 commit c2f32b2

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ buildscript {
1616
}
1717
}
1818

19+
plugins {
20+
id 'com.google.devtools.ksp' version '1.8.10-1.0.9' apply false
21+
}
22+
1923
allprojects {
2024
repositories {
2125
google()
@@ -26,4 +30,5 @@ allprojects {
2630

2731
subprojects {
2832
apply plugin: "org.jlleitschuh.gradle.ktlint"
33+
apply plugin: "com.google.devtools.ksp"
2934
}

owncloudComLibrary/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apply plugin: 'com.android.library'
22
apply plugin: 'kotlin-android'
3-
apply plugin: 'kotlin-kapt'
3+
apply plugin: 'com.google.devtools.ksp'
44
apply plugin: 'kotlin-parcelize'
55

66
dependencies {
@@ -14,7 +14,7 @@ dependencies {
1414
exclude module: "kotlin-reflect"
1515
}
1616
implementation 'org.apache.commons:commons-lang3:3.12.0'
17-
kapt "com.squareup.moshi:moshi-kotlin-codegen:$comSquareupMoshi"
17+
ksp "com.squareup.moshi:moshi-kotlin-codegen:$comSquareupMoshi"
1818

1919
testImplementation 'junit:junit:4.13.2'
2020
testImplementation 'org.robolectric:robolectric:4.9.2'

0 commit comments

Comments
 (0)