Package com.arc_e_tect.gradle.trackerlens.lens
package com.arc_e_tect.gradle.trackerlens.lens
-
ClassDescriptionA single style pack lens, as discovered by
LensScanner: its id (the lens file's base name, lower-cased) and its CSS content.Derives a filesystem-safe CSS file name from a (possibly auto-namespaced) lens id, e.g.Merges theLenses contributed by severalLensSources into the final set offered in the dashboard's lens switcher.Scans one classpath root - a directory or a jar, this plugin's own bundled resources or a resolvedlensStyledependency, no distinction - for the fixedMETA-INF/arc-e-tect/tracker-lens/lenses/*.cssconvention and returns theLenses it finds.Resolves the full merged lens set - this plugin's own bundled built-in lenses, every resolved externallensStylepack (optionally restricted to one preferred pack), and the singlelensStylesheetlens when configured - exactly the same way regardless of which task asks for it.One contributor ofLenses to be merged byLensResolver: either this plugin's own bundled built-in lenses, or one resolvedlensStyledependency's lenses, or the single lens contributed bytrackerLens.lensStylesheet.ALensafter cross-pack merging byLensResolver: its final, possibly auto-namespaced id, the label of the source it came from, and its CSS content.