My build.gradle
is as follows:
group \'groupName\'
version \'version\'
apply plugin: \'java\'
apply plugin: \'idea\'
sourceCompatibility = 1.8
re
The Gradle check
task depends on the test
task which means test
is executed before check
is run. The documentation states that check performs all verification tasks in the project, including test
and also tasks plugins add to the project:
If you for example add the checkstyle plugin to your project you can either run its tasks checkstyleMain
and checkstyleTest
individually or execute a full project verification using check
. In this case the tasks test
, checkstyleMain
and checkstyleTest
would be run.
Whereas test
always just executes your unit tests.