lv.brain.vendor-patcher
Owner:
brain.lv
Applies numbered steps to a copy of a vendor folder: unified diffs (also for text files inside JARs), folders with replacement files and classes, and lists of files to remove. Explains a failing step with its cause and fix, shows which steps are still needed after a vendor upgrade, and turns edits in a workspace into new steps. Cacheable; used by lv.brain.vendor-distributor with vendor.patcher=true or on its own.
https://github.com/brain-lv/gradle-vendor-plugin
Sources: https://github.com/brain-lv/gradle-vendor-plugin.git
Version 3.0.1 (latest)
Created 22 November 2026.
Applies numbered steps to a copy of a vendor folder: unified diffs (also for text files inside JARs), folders with replacement files and classes, and lists of files to remove. Explains a failing step with its cause and fix, shows which steps are still needed after a vendor upgrade, and turns edits in a workspace into new steps. Cacheable; used by lv.brain.vendor-distributor with vendor.patcher=true or on its own.
Add this plugin to your build using the plugins DSL:
plugins {
id("lv.brain.vendor-patcher") version "3.0.1"
}
See also:
-
Adding the plugin to build logic for usage in precompiled script plugins.
See the relevant documentation for more information.
Add this plugin as a dependency to
<convention-plugins-build>/build.gradle(.kts):dependencies { implementation("lv.brain.vendor-patcher:lv.brain.vendor-patcher.gradle.plugin:3.0.1") }It can then be applied in the precompiled script plugin:plugins { id("lv.brain.vendor-patcher") } -
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("lv.brain.vendor-patcher:lv.brain.vendor-patcher.gradle.plugin:3.0.1") } } apply(plugin = "lv.brain.vendor-patcher") - Applying plugins to all subprojects .