Class VendorTasks
java.lang.Object
org.jpos.gradle.VendorTasks
Tasks to vendor/unvendor a dependency into the consuming build.
During certification or QA, a jPOS user sometimes needs to patch a dependency
locally. The vendor task extracts a library's -sources.jar into a
vendor/<name>/ sub-project and wires it into the build through Gradle
dependency substitution, so every reference to that module — direct and transitive —
resolves to the local project. unvendor reverses it.
The consuming project's build.gradle and gradle/libs.versions.toml
are never modified: the version-catalog entry stays as-is and
resolutionStrategy.dependencySubstitution performs the redirect.
vendor --lib <key>— extracts the library referenced by the catalog<key>intovendor/<name>/, generates its build script and registers it insettings.gradle.unvendor [--lib <key>]— removes a vendored module (all of them by default), restoringsettings.gradle.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRemoves vendored modules and restoressettings.gradle.static classExtracts a catalog library into a localvendor/<name>sub-project. -
Method Summary