mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-CR-48754 rename run custom task method
GitOrigin-RevId: 5311c7557f6ec0290babd8154f40cf54df13b0c9
This commit is contained in:
committed by
intellij-monorepo-bot
parent
3c0b8a721f
commit
7fc6f857b2
@@ -218,13 +218,13 @@ public class GradleTaskManager extends BaseExternalSystemTaskManager<GradleExecu
|
||||
}
|
||||
}
|
||||
|
||||
public static void runTask(@NotNull Project project,
|
||||
@NotNull String executionName,
|
||||
@NotNull Class<? extends Task> taskClass,
|
||||
@NotNull String projectPath,
|
||||
@NotNull String gradlePath,
|
||||
@Nullable String taskConfiguration,
|
||||
@Nullable final TaskCallback callback) {
|
||||
public static void runCustomTask(@NotNull Project project,
|
||||
@NotNull String executionName,
|
||||
@NotNull Class<? extends Task> taskClass,
|
||||
@NotNull String projectPath,
|
||||
@NotNull String gradlePath,
|
||||
@Nullable String taskConfiguration,
|
||||
@Nullable final TaskCallback callback) {
|
||||
final String taskName = taskClass.getSimpleName();
|
||||
String paths = GradleExecutionHelper.getToolingExtensionsJarPaths(set(taskClass, GsonBuilder.class));
|
||||
String initScript = "initscript {\n" +
|
||||
|
||||
Reference in New Issue
Block a user