mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-29 21:48:43 +00:00
15 lines
519 B
Kotlin
15 lines
519 B
Kotlin
package dev.inmo.tgbotapi.ksp.processor
|
|
|
|
import com.google.devtools.ksp.processing.*
|
|
|
|
class TelegramBotAPISymbolProcessorProvider : SymbolProcessorProvider {
|
|
override fun create(environment: SymbolProcessorEnvironment): SymbolProcessor {
|
|
return TelegramBotAPISymbolProcessor(
|
|
environment.codeGenerator,
|
|
environment.options["cctargetPackage"] ?: "",
|
|
environment.options["ccoutputFileName"] ?: "Output",
|
|
environment.options["ccoutputFolder"],
|
|
)
|
|
}
|
|
}
|