Gradle Java Plugin: Difference between revisions
Jump to navigation
Jump to search
(→jar) |
(→jar) |
||
Line 22: | Line 22: | ||
==<tt>compileTestJava</tt>== | ==<tt>compileTestJava</tt>== | ||
==<tt>jar</tt>== | ==<tt>jar</tt>== | ||
Assembles the JAR file, based on the classes and resources attached to the main source set. Depends on [[#classes|classes]]. The task is backed by the [[Gradle_Jar_Task_Type#Overview|Jar]] type. Configuration details in {{Internal|Gradle_Jar_Task_Type#Configuration|Jar Task Type}} | Assembles the JAR file, based on the classes and resources attached to the main source set. Depends on [[#classes|classes]]. The task is backed by the [[Gradle_Jar_Task_Type#Overview|Jar]] type. Configuration details in: {{Internal|Gradle_Jar_Task_Type#Configuration|Jar Task Type}} | ||
==<tt>javadoc</tt>== | ==<tt>javadoc</tt>== |
Revision as of 05:56, 22 October 2020
External
Internal
TODEPLETE
Overview
The Java plugin adds Java compilation, testing and packaging capabilities to a project. It also serves as the basis for many of the other JVM language Gradle plugins.
Tasks
assemble
build
buildDependents
buildNeeded
check
classes
clean
compileJava
The "compileJava" task is backed by the JavaCompile type.
compileTestJava
jar
Assembles the JAR file, based on the classes and resources attached to the main source set. Depends on classes. The task is backed by the Jar type. Configuration details in: