Configure KSP out of android
https://developer.android.com/jetpack/androidx/releases/room#compiler-options
This commit is contained in:
+5
-2
@@ -144,8 +144,6 @@ android {
|
||||
manifestPlaceholders.quickstepMaxSdk = quickstepMaxSdk
|
||||
buildConfigField "int", "QUICKSTEP_MIN_SDK", quickstepMinSdk
|
||||
buildConfigField "int", "QUICKSTEP_MAX_SDK", quickstepMaxSdk
|
||||
|
||||
ksp { arg("room.schemaLocation", "$projectDir/schemas".toString()) }
|
||||
}
|
||||
|
||||
applicationVariants.all { variant ->
|
||||
@@ -404,6 +402,11 @@ dependencies {
|
||||
implementation 'com.airbnb.android:lottie:5.2.0'
|
||||
}
|
||||
|
||||
ksp {
|
||||
arg("room.schemaLocation", "$projectDir/schemas")
|
||||
arg("room.incremental", "true")
|
||||
}
|
||||
|
||||
protobuf {
|
||||
// Configure the protoc executable
|
||||
protoc {
|
||||
|
||||
Reference in New Issue
Block a user