app.softwork.serviceloader.ksp.ServiceLoaderProvider.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ksp-plugin Show documentation
Show all versions of ksp-plugin Show documentation
A Gradle plugin to generate and validate service loaders
The newest version!
package app.softwork.serviceloader.ksp
import com.google.devtools.ksp.processing.*
public class ServiceLoaderProvider : SymbolProcessorProvider {
override fun create(environment: SymbolProcessorEnvironment): ServiceLoaderPlugin =
ServiceLoaderPlugin(environment.codeGenerator)
}