I’m not sure if the video you saw online was this one, but at the CDF Online Meetup I gave a no-slides all live-demo presentation introducing JTE that gets into this a bit.
The page of docs you’d be looking for is Parameterizing Libraries.
Basically, the library configuration from the pipeline configuration is made available to steps via a config
variable.
pipeline_config.groovy
libraries{
maven{