Package net.mcreator.gradle
Class GradleUtils
java.lang.Object
net.mcreator.gradle.GradleUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
cleanupEnvironment
(Map<String, String> environment) getEnvironment
(String java_home) static org.gradle.tooling.ProjectConnection
getGradleProjectConnection
(Workspace workspace) static org.gradle.tooling.BuildActionExecuter
<Void> getGradleSyncLauncher
(org.gradle.tooling.ProjectConnection projectConnection) static org.gradle.tooling.BuildLauncher
getGradleTaskLauncher
(org.gradle.tooling.ProjectConnection projectConnection, String... tasks) static String
static void
updateMCreatorBuildFile
(Workspace workspace)
-
Constructor Details
-
GradleUtils
public GradleUtils()
-
-
Method Details
-
getGradleProjectConnection
-
getGradleSyncLauncher
public static org.gradle.tooling.BuildActionExecuter<Void> getGradleSyncLauncher(org.gradle.tooling.ProjectConnection projectConnection) -
getGradleTaskLauncher
public static org.gradle.tooling.BuildLauncher getGradleTaskLauncher(org.gradle.tooling.ProjectConnection projectConnection, String... tasks) -
getJavaHome
-
updateMCreatorBuildFile
-
getEnvironment
-
cleanupEnvironment
-