JavaBasePlugin

abstract class JavaBasePlugin : Plugin<T>

A org.gradle.api.Plugin which compiles and tests Java source, and assembles it into a JAR file.

See also

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

Constructors

Link copied to clipboard
@Inject
constructor(objectFactory: ObjectFactory, jvmPluginServices: JvmEcosystemUtilities)

Functions

Link copied to clipboard
open fun apply(project: Project)

Properties

Link copied to clipboard
val BUILD_DEPENDENTS_TASK_NAME: String = "buildDependents"
Link copied to clipboard
val BUILD_NEEDED_TASK_NAME: String = "buildNeeded"
Link copied to clipboard
val BUILD_TASK_NAME: String = "build"
Link copied to clipboard
val CHECK_TASK_NAME: String = "check"
val COMPILE_CLASSPATH_PACKAGING_SYSTEM_PROPERTY: String = "org.gradle.java.compile-classpath-packaging"
Set this property to use JARs build from subprojects, instead of the classes folder from these project, on the compile classpath.
Link copied to clipboard
val DOCUMENTATION_GROUP: String = "documentation"
Task group name for documentation-related tasks.
Link copied to clipboard
A list of known artifact types which are known to prevent from publication.
Link copied to clipboard
val VERIFICATION_GROUP: String = "verification"