WatchdogSupportPlugin

class WatchdogSupportPlugin : DevKitSupportPlugin(source)

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

Test sources are never published, so they carry no API contract to watch. The Kotlin Gradle plugin already keeps explicit API mode off for test compilations, which is enough for the usual kotlin { explicitApi() } setup, but a raw -Xexplicit-api flag added to every compilation would otherwise turn the checks on there too. Skipping the compiler plugin for test compilations makes the exclusion hold whichever way explicit API mode is enabled.