Repository navigation
Releases
v21.2.0
Experimental Isolated Projects support
This release adds an opt-in implementation for Gradle Isolated Projects. It is
experimental and disabled by default. Existing builds continue to use the
legacy implementation unless they explicitly adopt the new path.
What's new
- A new
com.netflix.nebula.release-settingscompanion plugin captures common
release inputs in settings. Each project receives its version locally, avoiding
a mutable root-to-child configuration handoff. - Support for ordinary
help/buildcommands, rootsnapshot,devSnapshot,
immutableSnapshot,candidate, andfinalworkflows, and their setup tasks.
Release preparation, tagging, and pushing remain owned by the root project. - Native Maven/Ivy descriptors and publication hooks, including explicit
dependsOnandfinalizedBytask paths. Gradle's normal dependency and
finalizer behavior is preserved. - Opt-in support for
com.netflix.nebula.release-base, selected through
isolatedRelease.baseRelease = true, with rootprepareandreleasetasks. - The full plugin preserves its no-Git fallback: participating projects receive
0.1.0-dev.0.uncommitted, ordinary builds remain usable, and release tasks are
not installed. - Provider-backed versions and remotes, built-in default stages, and explicit
supplied-version verification settings. Common inputs are finalized before
project configuration; unsupported customization receives adoption diagnostics. - One shared immutable-snapshot timestamp per settings evaluation. Configuration
cache reuse retains it, while settings reevaluation captures a new timestamp
consistently across project versions, JARs, and publication descriptors.
How to opt in
Enable the build-wide flag in the root gradle.properties:
nebula.release.isolatedProjectsSupport=trueApply the settings companion in settings.gradle, using the same release version
as the project plugin:
plugins {
id 'com.netflix.nebula.release-settings' version '<release-version>'
}
isolatedRelease {
scope = 'minor'
}Apply com.netflix.nebula.release in the root and each participating project's
own build script or local convention. Move common release customization into
the supported isolatedRelease settings DSL; legacy root DSL and custom
strategies are not automatically migrated.
Enable Gradle's own Isolated Projects mode separately. For the validated Gradle
9.0/9.5 workflow versions, an initial check is:
./gradlew help \
-Dorg.gradle.unsafe.isolated-projects=true \
--configuration-cache \
--configuration-cache-problems=failRun it twice to check cache storage and reuse. See the
adoption guide
for release-base configuration, participation, publishing hooks, and migration
diagnostics.
Compatibility and current limits
- The complete documented workflow suites cover Gradle 9.0.0 and 9.5.0.
The build is tested on Java 17, 21, and 25. - Additional Gradle 9.9.0 tests cover configuration-cache and timestamp
boundaries. They do not establish the complete release workflow matrix on 9.9. - Partial project configuration-cache reuse remains unverified. The tested
Gradle task-build implementations reconfigure the whole graph on a cache miss;
a whole-build cache hit does not prove partial project reuse. - Artifactory integration is unsupported on the experimental path. Artifactory
6.0.0 and 6.0.4 exhibit isolation failures independently of this plugin. Use
native Maven/Ivy hooks, or retain the legacy path with Gradle isolation disabled. - Arbitrary
Project-based custom strategies, tag callbacks, composite builds,
independent release trains, and custom workflow entry points remain outside
the experimental guarantee. Use full root workflow names; abbreviated
selectors receive a diagnostic.
The flag remains off by default. These results establish the documented
experimental boundary, not general Isolated Projects compatibility. See the
compatibility review
for evidence and remaining acceptance gaps.
Git command correctness fix
Git write commands now use the process exit status to determine success.
Successful fetch/push progress printed to stderr no longer causes a false
failure, and a nonzero exit fails even when stderr is empty.
This correction applies to both the legacy and experimental implementations
and is independent of the feature flag. See
PR #316.
Full Changelog: v21.1.5...v21.2.0
v21.1.5
What's Changed
- remove jackson-bom since jackson is not used by this project by @wakingrufus in #312
Full Changelog: v21.1.4...v21.1.5
v21.1.4
What's Changed
- make version glob stricter based on if v prefix exists by @emilyyuan03 in #311
Full Changelog: v21.1.3...v21.1.4
v21.1.3
What's Changed
- disable publishing legacy plugin marker to maven central by @wakingrufus in #309
Full Changelog: v21.1.2...v21.1.3
v21.1.2
What's Changed
- Update dependencies by @github-actions[bot] in #301
- update actions versions by @wakingrufus in #308
Full Changelog: v21.1.1...v21.1.2
v21.1.1
What's Changed
- give release base plugin an id by @wakingrufus in #304
- Preserve default release branch patterns when adding patterns by @DanielThomas in #305
Full Changelog: v21.0.2...v21.1.1
v21.1.0
- give release base plugin an id in #304
Full Changelog: v21.0.2...v21.1.0
v21.0.2
What's Changed
- Fix version re-inference causing "Cannot call Task.setEnabled" on :release by @rpalcolea in #303
Full Changelog: v21.0.1...v21.0.2
v21.0.1
What's Changed
- Fix for #264: Fix tag incorrectly calculated when not prefixed by v. by @davidjlynn in #283
- Update Gradle Wrapper to 9.2.1 by @rpalcolea in #287
- Improve usage of Provider API by @rpalcolea in #288
- Update github actions by @rpalcolea in #289
- update to latest plugin-plugin by @wakingrufus in #290
- modernize by @wakingrufus in #296
- Update dependencies by @github-actions[bot] in #297
- Update dependencies by @github-actions[bot] in #298
- Update dependencies by @github-actions[bot] in #299
- Update dependencies by @github-actions[bot] in #300
- perf: memoize GitBuildService reads and stop running git status twice by @rpalcolea in #302
New Contributors
- @davidjlynn made their first contribution in #283
- @wakingrufus made their first contribution in #290
- @github-actions[bot] made their first contribution in #297
Full Changelog: v21.0.0...v21.0.1