CompilerPluginDevelopmentExtension

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val addCoreDependency: Property<Boolean>

Whether to add the kcp-development compiler plugin core library to the main classpath. Defaults to true.

Link copied to clipboard
abstract val addTestSupportDependency: Property<Boolean>

Whether to add the kcp-development test support library to the test fixtures classpath. Defaults to true.

Link copied to clipboard
abstract val commandLineProcessor: Property<String>

The full class name of your CommandLineProcessor. If present and the services plugin is applied, the plugin will create a service declaration file for it.

Link copied to clipboard
abstract val compilerPluginRegistrar: Property<String>

The full class name of your ComponentRegistrar. If present and the services plugin is applied, the plugin will create a service declaration file for it. It will also be used in any BaseTestGenerator-generated tests.

Link copied to clipboard
abstract val parallelTests: Property<Boolean>

Whether to run the tests in parallel. Defaults to true.

Link copied to clipboard
abstract val testDataRoot: DirectoryProperty

The root of the test data files. Defaults to src/testData.

Link copied to clipboard
abstract val testGenerationRoot: DirectoryProperty

The root of the generated tests. Defaults to src/test-gen.

Link copied to clipboard
abstract val testGenerator: Property<String>

The class to use for test generation. Typically your object that extends BaseTestGenerator.

Link copied to clipboard
abstract val useTestGenerator: Property<Boolean>

Whether to use a BaseTestGenerator-extending class to generate tests. Defaults to true.