Skip to content

Commit

Permalink
Merge pull request #574 from hannesa2/ksp
Browse files Browse the repository at this point in the history
Move from kapt to ksp
  • Loading branch information
hannesa2 authored Feb 23, 2024
2 parents 7605be1 + 77f69d6 commit 5131f6d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ buildscript {
}
}

plugins {
id 'com.google.devtools.ksp' version '1.9.22-1.0.17' apply false
}

println "Gradle uses Java ${Jvm.current()}"

ext {
Expand Down
4 changes: 2 additions & 2 deletions extendedSample/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id 'com.android.application'
id 'kotlin-android'
id 'kotlin-kapt'
id 'com.google.devtools.ksp'
}

android {
Expand Down Expand Up @@ -44,7 +44,7 @@ dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
implementation "com.github.AppDevNext.Logcat:LogcatCoreUI:$logcatVersion"
implementation "androidx.room:room-runtime:$room_version"
kapt "androidx.room:room-compiler:$room_version"
ksp "androidx.room:room-compiler:$room_version"

testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'com.github.AppDevNext:Moka:1.6'
Expand Down
4 changes: 2 additions & 2 deletions serviceLibrary/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ plugins {
id 'com.android.library'
id 'kotlin-android'
id 'maven-publish'
id 'kotlin-kapt'
id 'com.google.devtools.ksp'
}

android {
Expand Down Expand Up @@ -60,7 +60,7 @@ dependencies {
implementation "com.github.AppDevNext.Logcat:LogcatCoreLib:$logcatVersion"

implementation "androidx.room:room-runtime:$room_version"
kapt "androidx.room:room-compiler:$room_version"
ksp "androidx.room:room-compiler:$room_version"

androidTestImplementation "androidx.test.ext:junit-ktx:1.1.5"
androidTestUtil "androidx.test.services:test-services:1.4.2"
Expand Down

0 comments on commit 5131f6d

Please sign in to comment.