Package org.openrewrite.gradle.marker
Class GradleProject
java.lang.Object
org.openrewrite.gradle.marker.GradleProject
- All Implemented Interfaces:
Serializable,org.openrewrite.marker.Marker
Contains metadata about a Gradle Project. Queried from Gradle itself when the OpenRewrite build plugin runs.
Not automatically available on LSTs that aren't parsed through a Gradle plugin, so tests won't automatically have
access to this metadata.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable org.openrewrite.maven.tree.DependencyfindDependency(String configuration, String groupId, String artifactId) static GradleProjectfromToolingModel(GradleProject project) getConfiguration(String name) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openrewrite.marker.Marker
getId, print, withId
-
Constructor Details
-
GradleProject
public GradleProject()
-
-
Method Details
-
getConfiguration
-
getConfigurations
-
findDependency
-
fromToolingModel
-