Export a Njord transportable bundle

Create a local .ntb archive from Gradle Maven publications for import into Njord.

Apply the settings plugin and configure your Maven publications as shown in the quickstart. Use a selection containing either releases or snapshots.

Run this from the root of your Gradle build:

1./gradlew :njordTransportableBundle

For the quickstart’s example name and version, the output is build/maven-bundles/njord-transportable/my-library-1.0.ntb. The archive contains the Maven repository tree, plus the indexes and properties Njord uses for import. Hand the file to njord:import.

The task uses the same checksum and signing policy as the repository ZIP. For the unsigned quickstart fixture, pass -PatrMavenBundle.requireSignatures=false when trying this output locally. For mixed release and snapshot publications, use the repository ZIP or narrow the publication selection.