Package org.openrewrite.gradle.util
Class GradleWrapper
java.lang.Object
org.openrewrite.gradle.util.GradleWrapper
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.openrewrite.Checksumorg.openrewrite.remote.Remotegradlew()org.openrewrite.remote.Remotestatic org.openrewrite.Validated<GradleWrapper>validate(org.openrewrite.ExecutionContext ctx, String version, @Nullable String distribution, @Nullable String repositoryUrl) org.openrewrite.remote.Remote
-
Field Details
-
WRAPPER_JAR_LOCATION_RELATIVE_PATH
- See Also:
-
WRAPPER_PROPERTIES_LOCATION_RELATIVE_PATH
- See Also:
-
WRAPPER_SCRIPT_LOCATION_RELATIVE_PATH
- See Also:
-
WRAPPER_BATCH_LOCATION_RELATIVE_PATH
- See Also:
-
WRAPPER_JAR_LOCATION
-
WRAPPER_PROPERTIES_LOCATION
-
WRAPPER_SCRIPT_LOCATION
-
WRAPPER_BATCH_LOCATION
-
-
Constructor Details
-
GradleWrapper
public GradleWrapper()
-
-
Method Details
-
validate
public static org.openrewrite.Validated<GradleWrapper> validate(org.openrewrite.ExecutionContext ctx, String version, @Nullable @Nullable String distribution, @Nullable @Nullable String repositoryUrl) -
getDistributionUrl
-
getPropertiesFormattedUrl
-
getDistributionChecksum
public org.openrewrite.Checksum getDistributionChecksum() -
wrapperJar
public org.openrewrite.remote.Remote wrapperJar() -
gradlew
public org.openrewrite.remote.Remote gradlew() -
gradlewBat
public org.openrewrite.remote.Remote gradlewBat()
-