Package org.openrewrite.gradle.marker
Class GradleDependencyConfiguration
java.lang.Object
org.openrewrite.gradle.marker.GradleDependencyConfiguration
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList the configurations which are extended by the given configuration.@Nullable org.openrewrite.maven.tree.DependencyfindRequestedDependency(String groupId, String artifactId) @Nullable org.openrewrite.maven.tree.ResolvedDependencyfindResolvedDependency(String groupId, String artifactId) static Map<String,GradleDependencyConfiguration> fromToolingModel(Map<String, GradleDependencyConfiguration> toolingConfigurations)
-
Constructor Details
-
GradleDependencyConfiguration
public GradleDependencyConfiguration()
-
-
Method Details
-
allExtendsFrom
List the configurations which are extended by the given configuration. Assuming a hierarchy like:implementation |> compileClasspath |> runtimeClasspath |> testImplementation |> testCompileClasspath |> testRuntimeClasspathWhen querying "testCompileClasspath" this function will return [testImplementation, implementation]. -
findRequestedDependency
-
findResolvedDependency
-
fromToolingModel
public static Map<String,GradleDependencyConfiguration> fromToolingModel(Map<String, GradleDependencyConfiguration> toolingConfigurations)
-