RunPluginVerifierTask

@UntrackedTask(because = "Should always run Plugin Verifier")
abstract class RunPluginVerifierTask @Inject constructor(objectFactory: ObjectFactory, execOperations: ExecOperations, providers: ProviderFactory) : DefaultTask

Constructors

Link copied to clipboard
@Inject
fun RunPluginVerifierTask(objectFactory: ObjectFactory, execOperations: ExecOperations, providers: ProviderFactory)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun appendParallelSafeAction(action: Action<in Task>)
Link copied to clipboard
open operator override fun compareTo(other: Task): Int
Link copied to clipboard
open override fun configure(closure: Closure<Any>): Task
Link copied to clipboard
open override fun dependsOn(vararg paths: Any): Task
Link copied to clipboard
open override fun doFirst(action: Closure<Any>): Task
open override fun doFirst(action: Action<in Task>): Task
open override fun doFirst(actionName: String, action: Action<in Task>): Task
Link copied to clipboard
open override fun doLast(action: Closure<Any>): Task
open override fun doLast(action: Action<in Task>): Task
open override fun doLast(actionName: String, action: Action<in Task>): Task
Link copied to clipboard
open override fun doNotTrackState(reasonNotToTrackState: String)
Link copied to clipboard
open override fun finalizedBy(vararg paths: Any): Task
Link copied to clipboard
open override fun getActions(): MutableList<Action<in Task>>
Link copied to clipboard
open override fun getAnt(): AntBuilder
Link copied to clipboard
@Internal
open override fun getAsDynamicObject(): DynamicObject
Link copied to clipboard
@Internal
open override fun getConvention(): Convention
Link copied to clipboard
open override fun getDependsOn(): MutableSet<Any>
Link copied to clipboard
open override fun getDescription(): String?
Link copied to clipboard
open override fun getDestroyables(): TaskDestroyables
Link copied to clipboard
open override fun getDidWork(): Boolean
Link copied to clipboard
open override fun getExtensions(): ExtensionContainer
Link copied to clipboard
open override fun getFinalizedBy(): TaskDependency
Link copied to clipboard
open override fun getGroup(): String?
Link copied to clipboard
open override fun getIdentityPath(): Path
Link copied to clipboard
open override fun getInputs(): TaskInputsInternal
Link copied to clipboard
@Internal
open override fun getLifecycleDependencies(): TaskDependencyInternal
Link copied to clipboard
open override fun getLocalState(): TaskLocalState
Link copied to clipboard
open override fun getLogger(): Logger
Link copied to clipboard
open override fun getLogging(): LoggingManager
Link copied to clipboard
open override fun getMustRunAfter(): TaskDependency
Link copied to clipboard
open override fun getName(): String
Link copied to clipboard
open override fun getOnlyIf(): Spec<in TaskInternal>
Link copied to clipboard
open override fun getOutputs(): TaskOutputsInternal
Link copied to clipboard
open override fun getPath(): String
Link copied to clipboard
open override fun getProject(): Project
Link copied to clipboard
Link copied to clipboard
open override fun getRequiredServices(): TaskRequiredServices
Link copied to clipboard
open override fun getSharedResources(): MutableList<ResourceLock>
Link copied to clipboard
open override fun getShouldRunAfter(): TaskDependency
Link copied to clipboard
open override fun getStandardOutputCapture(): StandardOutputCapture
Link copied to clipboard
open override fun getTaskActions(): MutableList<InputChangesAwareTaskAction>
Link copied to clipboard
open override fun getTaskDependencies(): TaskDependencyInternal
Link copied to clipboard
open override fun getTaskIdentity(): TaskIdentity<*>
Link copied to clipboard
open override fun getTemporaryDir(): File
Link copied to clipboard
open override fun getTemporaryDirFactory(): Factory<File>
Link copied to clipboard
open override fun hasProperty(propertyName: String): Boolean
Link copied to clipboard
open override fun hasTaskActions(): Boolean
Link copied to clipboard
Link copied to clipboard
open override fun mustRunAfter(vararg paths: Any): Task
Link copied to clipboard
open override fun notCompatibleWithConfigurationCache(reason: String)
Link copied to clipboard
open override fun onlyIf(onlyIfClosure: Closure<Any>)
open override fun onlyIf(spec: Spec<in Task>)
open override fun onlyIf(onlyIfReason: String, spec: Spec<in Task>)
Link copied to clipboard
open override fun prependParallelSafeAction(action: Action<in Task>)
Link copied to clipboard
open override fun property(propertyName: String): Any?
Link copied to clipboard

Runs the IntelliJ Plugin Verifier against the plugin artifact.

Link copied to clipboard
open override fun setActions(replacements: MutableList<Action<in Task>>)
Link copied to clipboard
open override fun setDependsOn(dependsOn: MutableIterable<*>)
Link copied to clipboard
open override fun setDescription(description: String?)
Link copied to clipboard
open override fun setDidWork(didWork: Boolean)
Link copied to clipboard
open override fun setFinalizedBy(finalizedByTasks: MutableIterable<*>)
Link copied to clipboard
open override fun setGroup(group: String?)
Link copied to clipboard
open override fun setMustRunAfter(mustRunAfterTasks: MutableIterable<*>)
Link copied to clipboard
open override fun setOnlyIf(onlyIfClosure: Closure<Any>)
open override fun setOnlyIf(spec: Spec<in Task>)
open override fun setOnlyIf(onlyIfReason: String, spec: Spec<in Task>)
Link copied to clipboard
open override fun setProperty(name: String, value: Any)
Link copied to clipboard
open override fun setShouldRunAfter(shouldRunAfterTasks: MutableIterable<*>)
Link copied to clipboard
open override fun shouldRunAfter(vararg paths: Any): TaskDependency
Link copied to clipboard
open override fun usesService(service: Provider<out BuildService<*>>)

Properties

Link copied to clipboard
@get:InputFile
@get:SkipWhenEmpty
@get:PathSensitive(value = PathSensitivity.RELATIVE)
abstract val distributionFile: RegularFileProperty

JAR or ZIP file of the plugin to verify. If empty, the task will be skipped.

Link copied to clipboard
@get:Input
@get:Optional
abstract val downloadDir: Property<String>

The path to the directory where IDEs used for the verification will be downloaded.

Link copied to clipboard
@get:Internal
abstract val downloadPath: Property<Path>
Link copied to clipboard
@get:Internal
var enabled: Boolean
Link copied to clipboard
@get:Input
@get:Optional
abstract val externalPrefixes: ListProperty<String>

The list of classes prefixes from the external libraries. The Plugin Verifier will not report No such class for classes of these packages.

Link copied to clipboard
@get:Input
abstract val failureLevel: ListProperty<RunPluginVerifierTask.FailureLevel>

Defines the verification level at which the task should fail if any reported issue matches. Can be set as FailureLevel enum or EnumSet.

Link copied to clipboard
Link copied to clipboard
@get:Internal
abstract val ideDir: Property<File>
Link copied to clipboard
@get:Input
@get:Optional
abstract val ideVersions: ListProperty<String>

IDEs to check, in intellij.version format, i.e.: ["IC-2019.3.5", "PS-2019.3.2"]. Check the available build versions on IntelliJ Platform Builds list.

Link copied to clipboard
Link copied to clipboard
@get:Input
@get:Optional
abstract val jbrArch: Property<String>

JetBrains Runtime architecture. By default, it's resolved based on the current OS and JRE architecture, see JbrResolver.JbrArtifact.arch.

Link copied to clipboard
@get:Input
@get:Optional
abstract val jbrVariant: Property<String>

JetBrains Runtime variant to use when running the IDE with the plugin. See JetBrains Runtime Releases.

Link copied to clipboard
@get:Input
@get:Optional
abstract val jbrVersion: Property<String>

Custom JBR version to use for running the IDE.

Link copied to clipboard
@get:Input
@get:Optional
abstract val jreRepository: Property<String>

URL of repository for downloading JetBrains Runtime.

Link copied to clipboard
@get:Input
abstract val localPaths: ListProperty<File>

A list of the paths to locally installed IDE distributions that should be used for verification in addition to those specified in ideVersions.

Link copied to clipboard
@get:Internal
abstract val offline: Property<Boolean>
Link copied to clipboard
@get:Input
@get:Optional
abstract val productsReleasesFile: Property<File>

A fallback file with a list of the releases generated with ListProductsReleasesTask. Used if ideVersions is not provided.

Link copied to clipboard
@get:Internal
abstract val resolvedRuntimeDir: Property<String>

Resolves the Java Runtime directory. runtimeDir property is used if provided with the task configuration. Otherwise, jbrVersion is used for resolving the JBR. If it's not set, or it's impossible to resolve a valid version, built-in JBR will be used. As a last fallback, current JVM will be used.

Link copied to clipboard
@get:Input
@get:Optional
abstract val runtimeDir: Property<String>

The path to directory containing JVM runtime, overrides jbrVersion.

Link copied to clipboard
val state: TaskStateInternal
Link copied to clipboard
@get:Input
@get:Optional
abstract val subsystemsToCheck: Property<String>

Specifies which subsystems of IDE should be checked.

Link copied to clipboard
@get:Input
@get:Optional
abstract val teamCityOutputFormat: Property<Boolean>

A flag that controls the output format - if set to true, the TeamCity compatible output will be returned to stdout.

Link copied to clipboard
val timeout: Property<Duration>
Link copied to clipboard
@get:OutputDirectory
@get:Optional
abstract val verificationReportsDir: Property<String>

The path to the directory where verification reports will be saved.

Link copied to clipboard
@get:Input
@get:Optional
abstract val verifierPath: Property<String>

Local path to the IntelliJ Plugin Verifier that will be used. If provided, verifierVersion is ignored.

Link copied to clipboard
@get:Input
@get:Optional
abstract val verifierVersion: Property<String>

Returns the version of the IntelliJ Plugin Verifier that will be used.

Extensions

Link copied to clipboard
fun Task.logCategory(): String