Supercharge Your Java Projects
Get distributed tasks, intelligent caching, and target affected packages to optimize your build process and CI pipeline for Java projects.
Features
The Nx Plugin for Java integrates seamlessly with your existing Gradle and Maven 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
Nx supports both Gradle and Maven
Install Nx
brew install nxGet the nx executable from homebrew
Add Nx To Your Project
nx initSelect @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 buildNx 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