Skip to content

Commit

Permalink
Merge pull request #937 from AnirudhPudari/migrate-to-ksp
Browse files Browse the repository at this point in the history
Migrate to KSP
  • Loading branch information
tunjid authored Apr 11, 2023
2 parents d7ba290 + d02adfc commit 03d9af0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ plugins {
alias(libs.plugins.android.application)
alias(libs.plugins.kotlin.android)
alias(libs.plugins.kapt)
alias(libs.plugins.ksp)
alias(libs.plugins.hilt)
}

Expand Down Expand Up @@ -120,7 +121,7 @@ dependencies {
// Architecture Components
implementation(libs.room.runtime)
implementation(libs.room.ktx)
kapt(libs.room.compiler)
ksp(libs.room.compiler)
implementation(libs.androidx.lifecycle.runtimeCompose)
implementation(libs.androidx.lifecycle.viewModelCompose)

Expand Down
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ plugins {
alias(libs.plugins.android.library) apply false
alias(libs.plugins.kotlin.android) apply false
alias(libs.plugins.kapt) apply false
alias(libs.plugins.ksp) apply false
alias(libs.plugins.hilt) apply false
}
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ org.gradle.jvmargs=-Xmx4096m -XX:MaxPermSize=1024m -XX:+HeapDumpOnOutOfMemoryErr
android.enableJetifier=true
android.useAndroidX=true
kapt.incremental.apt=true
ksp.incremental.apt=true
org.gradle.unsafe.configuration-cache=true
3 changes: 2 additions & 1 deletion shared-test/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ plugins {
alias(libs.plugins.android.library)
alias(libs.plugins.kotlin.android)
alias(libs.plugins.kapt)
alias(libs.plugins.ksp)
alias(libs.plugins.hilt)
}

Expand All @@ -43,5 +44,5 @@ dependencies {
// Room
implementation(libs.room.runtime)
implementation(libs.room.ktx)
kapt(libs.room.compiler)
ksp(libs.room.compiler)
}

0 comments on commit 03d9af0

Please sign in to comment.