Skip to content

Commit

Permalink
Add ksp (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
AfigAliyev committed Aug 12, 2022
1 parent b8dbfa5 commit f003fc3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ plugins {
alias(libs.plugins.kotlin.jvm) apply false
alias(libs.plugins.kotlin.serialization) apply false
alias(libs.plugins.kotlin.kapt) apply false
alias(libs.plugins.ksp) apply false
alias(libs.plugins.dagger.hilt.android) apply false
alias(libs.plugins.spotless)
alias(libs.plugins.detekt)
Expand Down
3 changes: 3 additions & 0 deletions data/data-local/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.ksp)
}

android {
Expand Down Expand Up @@ -52,6 +53,8 @@ dependencies {
implementation(project(":core:core-data:data-local"))
implementation(project(":data:data-remote"))

ksp(libs.androidx.room.compiler)

testImplementation(libs.bundles.test)
androidTestImplementation(libs.bundles.android.test)
}
2 changes: 2 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ android-targetSdk = "32"

kotlin = "1.7.10"
android-gradle-plugin = "7.2.2"
ksp = "1.7.10-1.0.6"
spotless = "6.9.1"
detekt = "1.21.0"
kode-detekt-rules-compose = "1.1.0"
Expand Down Expand Up @@ -111,6 +112,7 @@ kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
kotlin-kapt = { id = "org.jetbrains.kotlin.kapt", version.ref = "kotlin" }
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
java-library = { id = "java-library" }
spotless = { id = "com.diffplug.spotless", version.ref = "spotless" }
detekt = { id = "io.gitlab.arturbosch.detekt", version.ref = "detekt" }
Expand Down

0 comments on commit f003fc3

Please sign in to comment.