Class Gradle
java.lang.Object
io.github.intisy.gradle.github.impl.Gradle
A helper class for interacting with Gradle.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidmodifyBuildFile(org.gradle.api.Project project, String searchString, String replacement) Modifies the build file of a project.static voidsafeSoftRefreshGradle(org.gradle.api.Project project) Safely refreshes the Gradle project.
-
Constructor Details
-
Gradle
public Gradle()
-
-
Method Details
-
modifyBuildFile
public static void modifyBuildFile(org.gradle.api.Project project, String searchString, String replacement) Modifies the build file of a project.- Parameters:
project- The project.searchString- The string to search for.replacement- The string to replace with.
-
safeSoftRefreshGradle
public static void safeSoftRefreshGradle(org.gradle.api.Project project) Safely refreshes the Gradle project.- Parameters:
project- The project.
-