Nx
Nx on GitHub
Java

Supercharge Your Java Projects

Get distributed tasks, intelligent caching, and target affected packages to optimize your build process and CI pipeline for Java projects.

Add Nx To An Existing Project

Nx supports both Gradle and Maven

Install Nx

brew install nx

Get the nx executable from homebrew

Add Nx To Your Project

nx init

Select @nx/gradle or @nx/maven when prompted.

Run Tasks With Nx

nx build <project>

Nx will automatically infers tasks from your projects.

Run Affected Tasks

nx affected -t build

Nx adds caching, distribution, and affected commands without changing your setup.

Learn More

Check out the documentation for @nx/gradle or @nx/maven to learn more