Package io.root.patcher
Class IgnoreList
java.lang.Object
io.root.patcher.IgnoreList
Set of dependency coordinates to skip patching, loaded from a
.rootioignore file
and/or supplied entries. Each entry is group:artifact@version (exact, case-sensitive).-
Method Summary
Modifier and TypeMethodDescriptionstatic IgnoreListBuilds an ignore set from<rootDir>/.rootioignore(silently skipped if absent) merged withextraEntries.Returns all ignore entries as a list of"group:artifact@version"strings, suitable for passing to the Root.io API as theignorefield.
-
Method Details
-
load
Builds an ignore set from<rootDir>/.rootioignore(silently skipped if absent) merged withextraEntries. Blank lines and lines starting with#are ignored; malformed entries are logged at warn and skipped.- Parameters:
rootDir- directory to look for.rootioignoreinextraEntries- additionalgroup:artifact@versionentries (e.g. from config)- Returns:
- a populated
IgnoreList
-
toApiEntries
Returns all ignore entries as a list of"group:artifact@version"strings, suitable for passing to the Root.io API as theignorefield.
-