WatchdogSupportPlugin

class WatchdogSupportPlugin : DevKitSupportPlugin(source)

The org.jetbrains.kotlin.library.api-watchdog plugin.

See Configuration for more details.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val info: DevKitPluginInfo

Functions

Link copied to clipboard
open override fun apply(target: Project)
Link copied to clipboard
override fun applyToCompilation(kotlinCompilation: KotlinCompilation<*>): Provider<List<SubpluginOption>>
open override fun Project.applyToCompilation(kotlinCompilation: KotlinCompilation<*>): Provider<List<SubpluginOption>>
Link copied to clipboard
open override fun getCompilerPluginId(): String
Link copied to clipboard
open override fun getPluginArtifact(): SubpluginArtifact
Link copied to clipboard
open override fun isApplicable(kotlinCompilation: KotlinCompilation<*>): Boolean

KGP calls it after afterEvaluate, so apiWatchdog.enabled is final here. A raw -Xexplicit-api flag turns explicit API mode on for test compilations too, so the exclusion is here and not in the compiler plugin.

Link copied to clipboard