Class GradleUtils

java.lang.Object
net.mcreator.gradle.GradleUtils

public class GradleUtils extends Object
  • Constructor Details

    • GradleUtils

      public GradleUtils()
  • Method Details

    • getGradleProjectConnection

      public static org.gradle.tooling.ProjectConnection getGradleProjectConnection(Workspace workspace)
    • 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

      public static String getJavaHome()
    • updateMCreatorBuildFile

      public static void updateMCreatorBuildFile(Workspace workspace)
    • getEnvironment

      public static Map<String,String> getEnvironment(String java_home)
    • cleanupEnvironment

      public static void cleanupEnvironment(Map<String,String> environment)