File tree 4 files changed +12
-4
lines changed
4 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ plugins {
5
5
alias(libs.plugins.android)
6
6
kotlin(" android" )
7
7
kotlin(" kapt" )
8
+ alias(libs.plugins.ksp)
8
9
alias(libs.plugins.compose.compiler)
9
10
}
10
11
@@ -163,10 +164,14 @@ android {
163
164
kapt {
164
165
arguments {
165
166
arg(" eventBusIndex" , " com.battlelancer.seriesguide.SgEventBusIndex" )
166
- arg(" room.schemaLocation" , " $projectDir /schemas" )
167
167
}
168
168
}
169
169
170
+ ksp {
171
+ arg(" room.schemaLocation" , " $projectDir /schemas" )
172
+ }
173
+
174
+
170
175
dependencies {
171
176
implementation(libs.kotlinx.coroutines.core)
172
177
implementation(libs.kotlinx.coroutines.android)
@@ -218,7 +223,7 @@ dependencies {
218
223
implementation(libs.androidx.room.ktx)
219
224
// Paging 3 Integration
220
225
implementation(libs.androidx.room.paging)
221
- kapt (libs.androidx.room.compiler)
226
+ ksp (libs.androidx.room.compiler)
222
227
223
228
implementation(libs.dagger)
224
229
kapt(libs.dagger.compiler)
Original file line number Diff line number Diff line change 1
1
plugins {
2
2
alias(libs.plugins.android.library)
3
3
kotlin(" android" )
4
- kotlin( " kapt " )
4
+ alias(libs.plugins.ksp )
5
5
}
6
6
7
7
val sgCompileSdk: Int by rootProject.extra
@@ -50,7 +50,7 @@ dependencies {
50
50
implementation(libs.androidx.lifecycle.viewmodel)
51
51
// Room
52
52
implementation(libs.androidx.room.runtime)
53
- kapt (libs.androidx.room.compiler)
53
+ ksp (libs.androidx.room.compiler)
54
54
55
55
implementation(libs.timber)
56
56
}
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ plugins {
4
4
// app, libraries
5
5
alias(libs.plugins.android) apply false
6
6
alias(libs.plugins.kotlin) apply false
7
+ alias(libs.plugins.ksp) apply false
7
8
alias(libs.plugins.compose.compiler) apply false
8
9
// Firebase Crashlytics
9
10
alias(libs.plugins.google.services) apply false
Original file line number Diff line number Diff line change @@ -137,6 +137,8 @@ android-library = { id = "com.android.library" }
137
137
# 2.1.0 is compatible with Gradle 7.6.3–8.10 and AGP 7.3.1–8.7.2
138
138
kotlin = { id = " org.jetbrains.kotlin.android" , version = " 2.1.0" }
139
139
compose-compiler = { id = " org.jetbrains.kotlin.plugin.compose" , version = " 2.1.0" }
140
+ # https://github.com/google/ksp/releases
141
+ ksp = { id = " com.google.devtools.ksp" , version = " 2.1.0-1.0.29" }
140
142
# https://github.com/ben-manes/gradle-versions-plugin/releases
141
143
versions = { id = " com.github.ben-manes.versions" , version = " 0.51.0" }
142
144
# https://github.com/gradle-nexus/publish-plugin/releases
You can’t perform that action at this time.
0 commit comments