Class DependenciesFinder

java.lang.Object
org.sonatype.gradle.plugins.scan.common.DependenciesFinder

public class DependenciesFinder extends Object
Finds and resolves dependencies for Gradle projects.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    List<com.sonatype.insight.scan.module.model.Module>
    findModules(org.gradle.api.Project rootProject, boolean allConfigurations, Set<String> modulesExcluded, Map<String,String> variantAttributes, boolean excludeCompileOnlyDependencies)
    Finds modules for the given root project and its subprojects.
    Set<org.gradle.api.artifacts.ResolvedDependency>
    findResolvedDependencies(org.gradle.api.Project project, boolean allConfigurations, Map<String,String> variantAttributes, boolean excludeCompileOnlyDependencies)
    Finds resolved dependencies for the given project.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DependenciesFinder

      public DependenciesFinder()
  • Method Details

    • findResolvedDependencies

      public Set<org.gradle.api.artifacts.ResolvedDependency> findResolvedDependencies(org.gradle.api.Project project, boolean allConfigurations, Map<String,String> variantAttributes, boolean excludeCompileOnlyDependencies)
      Finds resolved dependencies for the given project.
    • findModules

      public List<com.sonatype.insight.scan.module.model.Module> findModules(org.gradle.api.Project rootProject, boolean allConfigurations, Set<String> modulesExcluded, Map<String,String> variantAttributes, boolean excludeCompileOnlyDependencies)
      Finds modules for the given root project and its subprojects.