-
Notifications
You must be signed in to change notification settings - Fork 233
Open
Description
In some ksp usage scenarios, you need to pass in apoption. But now rules does not implement this function.
I tried to implement it with a options params. #1103
Here's how it's used.
kt_ksp_plugin(
name = "kotlin-native-coroutine-ksp",
processor_class = "",
deps = [
"@maven//:com_rickclephas_kmp_kmp_nativecoroutines_ksp",
"@maven//:com_rickclephas_kmp_kmp_nativecoroutines_annotations_jvm",
"@maven//:com_rickclephas_kmp_kmp_nativecoroutines_core_jvm"
],
options = {
"nativeCoroutines.suffix" : "Native",
"nativeCoroutines.flowValueSuffix": "Value",
"nativeCoroutines.flowReplayCacheSuffix": "ReplayCache",
"nativeCoroutines.stateSuffix": "Value",
"nativeCoroutines.stateFlowSuffix": "Flow",
},
visibility = ["//visibility:public"],
)
robinlinden
Metadata
Metadata
Assignees
Labels
No labels