registerKaptTask

abstract fun registerKaptTask(taskName: String, kaptExtension: KaptExtensionConfig): TaskProvider<out Kapt>

Registers a new kapt task with the given taskName.

This task runs annotation processing.

Since

2.1.0

Parameters

taskName

task name to set

kaptExtension

an instance of KaptExtensionConfig


abstract fun registerKaptTask(taskName: String): TaskProvider<out Kapt>

Deprecated

Replaced with 'registerKaptTask(taskName, kaptExtension)'

Registers a new kapt task with the given taskName.

This task runs annotation processing.

Since

1.7.0