Supercharge Your Java Projects
Get distributed tasks, intelligent caching, and target affected packages to optimize your build process and CI pipeline. Support for Gradle and Maven (coming soon)
Features
The Nx Plugin for Java integrates seamlessly with your existing Gradle builds, adding powerful capabilities to your workflow.
Task Caching
Cache task results locally and remotely, avoiding redundant builds and speeding up your development workflow.
Distributed Task Execution
Run your project tasks across multiple machines, dramatically reducing build times for large repositories.
Affected Targets
Run tasks only on projects affected by your changes, saving time and computing resources.
Project Graph
Nx automatically infers your project graph from project's configuration, providing visualization and dependency analysis.
Split E2E Tests
Automatically split your E2E tests for faster parallel execution in CI environments with Atomizer.
Zero Configuration
Add Nx to your project in minutes with no changes to your existing setup required.
Add Nx To An Existing Project
Currently Nx only supports Gradle. Support for Maven will come soon
Install Nx
brew tap nrwl/nx && brew install nx
Get the nx
executable from homebrew
Add Nx To Your Project
nx init
Select @nx/gradle
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.
Get Started With Gradle
Check out the documentation for the @nx/gradle
plugin to learn more
Looking for Maven?
Maven support is coming soon.
Join the Nx Community Discord to be notified when it is released.