Serialized Form
-
Package org.openrewrite.gradle.attributes
-
Class org.openrewrite.gradle.attributes.ProjectAttribute
class ProjectAttribute extends Object implements Serializable-
Serialized Fields
-
path
String path
The path to the project within the gradle build. Note that this is not a filesystem path. Delimiters are ":" So the root project's path is ":" A subproject may have a path like ":someDir:projectName"
-
-
-
-
Package org.openrewrite.gradle.attributes.java
-
Class org.openrewrite.gradle.attributes.java.TargetJvmVersion
class TargetJvmVersion extends Object implements Serializable-
Serialized Fields
-
version
int version
The minimal target version for a Java library. Any consumer below this version would not be able to consume it.
-
-
-
-
Package org.openrewrite.gradle.marker
-
Class org.openrewrite.gradle.marker.FeaturePreview
class FeaturePreview extends Object implements Serializable -
Class org.openrewrite.gradle.marker.GradleBuildscript
class GradleBuildscript extends Object implements Serializable -
Class org.openrewrite.gradle.marker.GradleDependencyConfiguration
class GradleDependencyConfiguration extends Object implements Serializable-
Serialized Fields
-
attributes
Map<String,
String> attributes -
constraints
List<GradleDependencyConstraint> constraints
-
description
String description
-
directResolved
List<org.openrewrite.maven.tree.ResolvedDependency> directResolved
-
exceptionType
String exceptionType
-
extendsFrom
List<org.openrewrite.gradle.marker.GradleDependencyConfiguration> extendsFrom
-
isCanBeConsumed
boolean isCanBeConsumed
-
isCanBeDeclared
boolean isCanBeDeclared
-
isCanBeResolved
boolean isCanBeResolved
-
isTransitive
boolean isTransitive
-
message
String message
-
name
String name
-
requested
List<org.openrewrite.maven.tree.Dependency> requested
-
-
-
Class org.openrewrite.gradle.marker.GradleDependencyConstraint
class GradleDependencyConstraint extends Object implements Serializable-
Serialized Fields
-
artifactId
String artifactId
-
branch
@Nullable String branch
-
groupId
String groupId
-
preferredVersion
@Nullable String preferredVersion
Lowest-precedence version selected if nothing else otherwise specifies the version. Does not support dynamic versions like "1.+", Must be a literal, individual version number. -
reason
@Nullable String reason
-
rejectedVersions
List<String> rejectedVersions
-
requiredVersion
@Nullable String requiredVersion
Sets a minimum version, allowing newer versions to be selected in conflict resolution. Supports dynamic version selectors like "1.+". -
strictVersion
@Nullable String strictVersion
Ensure that only the specified version of a dependency is used, rejecting any other versions even if they are newer. Supports dynamic version selectors like "1.+".
-
-
-
Class org.openrewrite.gradle.marker.GradlePluginDescriptor
class GradlePluginDescriptor extends Object implements Serializable-
Serialized Fields
-
fullyQualifiedClassName
String fullyQualifiedClassName
The fully qualified name of the class which implements the plugin. -
id
@Nullable String id
The ID by which a plugin can be applied in the plugins{} block. Not all Gradle plugins have an ID, including script plugins, or plugins which are implementation details of other plugins.
-
-
-
Class org.openrewrite.gradle.marker.GradleProject
class GradleProject extends Object implements Serializable-
Serialized Fields
-
buildscript
GradleBuildscript buildscript
-
group
String group
-
id
UUID id
-
mavenPluginRepositories
List<org.openrewrite.maven.tree.MavenRepository> mavenPluginRepositories
Deprecated. -
mavenRepositories
List<org.openrewrite.maven.tree.MavenRepository> mavenRepositories
-
name
String name
-
nameToConfiguration
Map<String,
org.openrewrite.gradle.marker.GradleDependencyConfiguration> nameToConfiguration -
path
String path
-
plugins
List<GradlePluginDescriptor> plugins
-
version
String version
-
-
-
Class org.openrewrite.gradle.marker.GradleSettings
class GradleSettings extends Object implements Serializable-
Serialized Fields
-
buildscript
GradleBuildscript buildscript
-
featurePreviews
Map<String,
FeaturePreview> featurePreviews -
id
UUID id
-
pluginRepositories
List<org.openrewrite.maven.tree.MavenRepository> pluginRepositories
Deprecated. -
plugins
List<GradlePluginDescriptor> plugins
-
-
-