IdeaPlugin

abstract class IdeaPlugin : IdePlugin

Adds a GenerateIdeaModule task. When applied to a root project, also adds a GenerateIdeaProject task. For projects that have the Java plugin applied, the tasks receive additional Java-specific configuration.

See also

<a href="https://docs.gradle.org/current/userguide/idea_plugin.html">IDEA plugin reference</a>

Constructors

Link copied to clipboard
@Inject
constructor(instantiator: Instantiator, uniqueProjectNameProvider: UniqueProjectNameProvider, artifactRegistry: IdeArtifactRegistry, projectPathRegistry: ProjectStateRegistry)

Functions

Link copied to clipboard
open fun addWorker(worker: Task)
Link copied to clipboard
open fun apply(target: Project)
Link copied to clipboard
open fun getCleanTask(): TaskProvider<out Task>
Link copied to clipboard
Link copied to clipboard
open fun getModel(): IdeaModel
Link copied to clipboard
open fun isRoot(): Boolean
Link copied to clipboard
open fun toGradleCommand(project: Project): String

Properties

Link copied to clipboard
Link copied to clipboard