code: public DependencyGraphTransformer dependencyGraphTransformer() {
          DependencyGraphTransformer transformer =
                  new ConflictResolver(new NearestVersionSelector(), new JavaScopeSelector(),
                          new SimpleOptionalitySelector(), new JavaScopeDeriver());
  
          return new ChainedDependencyGraphTransformer(transformer, new JavaDependencyContextRefiner());
      }
docs: Gets a dependency graph transformer. This one handles scope changes
  
  @return