All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.kodein.mock.ksp.MocKMPProcessorProvider.kt Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
package org.kodein.mock.ksp

import com.google.devtools.ksp.processing.SymbolProcessor
import com.google.devtools.ksp.processing.SymbolProcessorEnvironment
import com.google.devtools.ksp.processing.SymbolProcessorProvider


public class MocKMPProcessorProvider : SymbolProcessorProvider {
    override fun create(environment: SymbolProcessorEnvironment): SymbolProcessor =
        MocKMPProcessor(
            environment.codeGenerator,
            environment.logger,
            environment.options["org.kodein.mock.errors"] == "throw",
            environment.options["org.kodein.mock.visibility"] == "public"
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy