4 August 2019

Mapping Maven phases to Gradle Lifecycle tasks

A table summary derived from the Gradle documentation.
Maven phase
Gradle task
Gradle Plugin
clean
clean
Base
compile
classes
Java
test
test
Java
package
assemble
Base
verify
check
Base
install
- (Not needed)
publishToMavenLocal
-
Maven Publish
deploy
publish
Maven Publish

Core language plugins, like the Java Plugin, apply the Base Plugin and hence have the same base set of lifecycle tasks.

No comments:

Post a Comment