List<Relocator> relocators = getRelocators();
List<ResourceTransformer> resourceTransformers = getResourceTransformers();
ShadeRequest shadeRequest = new ShadeRequest();
shadeRequest.setJars( artifacts );
shadeRequest.setUberJar( outputJar );
shadeRequest.setFilters( filters );
shadeRequest.setRelocators( relocators );
shadeRequest.setResourceTransformers( resourceTransformers );
shader.shade( shadeRequest );
if ( createSourcesJar )
{
ShadeRequest shadeSourcesRequest = new ShadeRequest();
shadeSourcesRequest.setJars( sourceArtifacts );
shadeSourcesRequest.setUberJar( sourcesJar );
shadeSourcesRequest.setFilters( filters );
shadeSourcesRequest.setRelocators( relocators );
shadeSourcesRequest.setResourceTransformers( resourceTransformers );
shadeSourcesRequest.setShadeSourcesContent( shadeSourcesContent );
shader.shade( shadeSourcesRequest );
}
if ( shadeTestJar )
{
ShadeRequest shadeSourcesRequest = new ShadeRequest();
shadeSourcesRequest.setJars( testArtifacts );
shadeSourcesRequest.setUberJar( testJar );
shadeSourcesRequest.setFilters( filters );
shadeSourcesRequest.setRelocators( relocators );
shadeSourcesRequest.setResourceTransformers( resourceTransformers );
shadeSourcesRequest.setShadeSourcesContent( shadeSourcesContent );
shader.shade( shadeSourcesRequest );
}
if ( outputFile == null )