What does the "classes" task do?

(c2665466) #1

In my project, the classes task of the Java plugin is always skipped “as it has no actions”

I can’t find any information about what this task actually does. Can someone enlighten me?

(Peter Niederwieser) #2

The ‘classes’ task produces everything that will go into the Jar, by depending on the ‘processResources’ and ‘compileJava’ tasks. It doesn’t have any behavior on its own (i.e. it has no task action). Same goes for other tasks such as ‘build’, ‘check’, etc.

(c2665466) #3

Thanks, that clears it up.