Skip to content

Commit

Permalink
[FEAT/#1] kapt -> ksp μˆ˜μ •
Browse files Browse the repository at this point in the history
  • Loading branch information
leeeyubin committed Jun 30, 2024
1 parent 6f1a1f4 commit 328c8b1
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 9 deletions.
6 changes: 3 additions & 3 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
alias(libs.plugins.kotlin.android)
alias(libs.plugins.hilt)
id("kotlin-parcelize")
id("kotlin-kapt")
alias(libs.plugins.ksp)
}

android {
Expand Down Expand Up @@ -76,8 +76,8 @@ dependencies {
implementation(libs.androidx.core.ktx)
implementation(libs.androidx.appcompat)
implementation(libs.hilt.android)
kapt(libs.hilt.android.compiler)
kapt(libs.hilt.manager)
ksp(libs.hilt.android.compiler)
ksp(libs.hilt.manager)
implementation(libs.androidx.workManager)
implementation(libs.androidx.hiltWorkManager)

Expand Down
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ plugins {
alias(libs.plugins.kotlin.serialization) apply false
alias(libs.plugins.hilt) apply false
alias(libs.plugins.android.test) apply false
alias(libs.plugins.ksp) apply false
}

buildscript {
Expand Down
2 changes: 1 addition & 1 deletion core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ android {

}
kotlinOptions {
jvmTarget = "1.8"
jvmTarget = libs.versions.jvmTarget.get()
}
buildFeatures {
compose = true
Expand Down
2 changes: 1 addition & 1 deletion domain/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id("java-library")
id("kotlin-kapt")
alias(libs.plugins.ksp)
alias(libs.plugins.kotlin.jvm)
}

Expand Down
6 changes: 3 additions & 3 deletions feature/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ plugins {
alias(libs.plugins.android.library)
alias(libs.plugins.kotlin.android)
alias(libs.plugins.hilt)
id("kotlin-kapt")
alias(libs.plugins.ksp)
id("kotlin-parcelize")
id("org.jetbrains.kotlin.plugin.serialization")
}
Expand Down Expand Up @@ -68,8 +68,8 @@ dependencies {

implementation(libs.hilt.compiler)
implementation(libs.androidx.lifecycle.runtime.compose.android)
kapt(libs.hilt.android.compiler)
kapt(libs.hilt.manager)
ksp(libs.hilt.android.compiler)
ksp(libs.hilt.manager)

implementation(libs.material)
implementation(libs.androidx.material3.android)
Expand Down
6 changes: 5 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ androidxLifecycle = "2.7.0"
androidxActivity = "1.9.0"
androidxDatastore = "1.1.1"

## Kotlin Symbol Processing
ksp = "1.9.0-1.0.12"

## Compose
androidxComposeBom = "2024.04.01"
androidxComposeCompiler = "1.5.14"
Expand Down Expand Up @@ -150,4 +153,5 @@ android-library = { id = "com.android.library", version.ref = "androidGradlePlug
kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
hilt = { id = "com.google.dagger.hilt.android", version.ref = "hilt" }
android-test = { id = "com.android.test", version.ref = "androidGradlePlugin" }
android-test = { id = "com.android.test", version.ref = "androidGradlePlugin" }
ksp = {id = "com.google.devtools.ksp", version.ref = "ksp"}

0 comments on commit 328c8b1

Please sign in to comment.