kopia lustrzana https://github.com/meshtastic/Meshtastic-Android
refactor: migrate from kapt to ksp
rodzic
43176d2aaa
commit
9a8010f32f
|
@ -6,7 +6,7 @@ plugins {
|
|||
id 'com.google.dagger.hilt.android'
|
||||
id 'de.mobilej.unmock'
|
||||
id 'com.google.protobuf'
|
||||
id 'kotlin-kapt'
|
||||
id "com.google.devtools.ksp"
|
||||
}
|
||||
|
||||
unMock {
|
||||
|
@ -154,7 +154,7 @@ dependencies {
|
|||
def room_version = '2.5.2'
|
||||
implementation "androidx.room:room-runtime:$room_version"
|
||||
annotationProcessor "androidx.room:room-compiler:$room_version"
|
||||
kapt "androidx.room:room-compiler:$room_version"
|
||||
ksp "androidx.room:room-compiler:$room_version"
|
||||
// optional - Kotlin Extensions and Coroutines support for Room
|
||||
implementation "androidx.room:room-ktx:$room_version"
|
||||
// optional - Test helpers
|
||||
|
@ -163,7 +163,7 @@ dependencies {
|
|||
// Hilt
|
||||
implementation "com.google.dagger:hilt-android:$hilt_version"
|
||||
// implementation "androidx.hilt:hilt-navigation-compose:1.0.0"
|
||||
kapt "com.google.dagger:hilt-compiler:$hilt_version"
|
||||
ksp "com.google.dagger:hilt-compiler:$hilt_version"
|
||||
|
||||
// Navigation
|
||||
def nav_version = "2.7.1"
|
||||
|
@ -246,8 +246,9 @@ dependencies {
|
|||
implementation 'com.github.AppIntro:AppIntro:6.3.1'
|
||||
}
|
||||
|
||||
kapt {
|
||||
correctErrorTypes true
|
||||
ksp {
|
||||
// arg("room.generateKotlin", "true")
|
||||
arg("room.schemaLocation", "$projectDir/schemas")
|
||||
}
|
||||
|
||||
repositories {
|
||||
|
|
|
@ -37,6 +37,10 @@ buildscript {
|
|||
}
|
||||
}
|
||||
|
||||
plugins {
|
||||
id "com.google.devtools.ksp" version "1.9.10-1.0.13" apply false
|
||||
}
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
google()
|
||||
|
|
Ładowanie…
Reference in New Issue