MCPcopy Create free account
hub / github.com/diffplug/goomph / create

Method create

src/main/java/com/diffplug/gradle/p2/P2AntRunner.java:38–44  ·  view source on GitHub ↗

Creates an ant task of the given type, configued by the `setup` action.

(String taskType, Action<Node> setup)

Source from the content-addressed store, hash-verified

36public class P2AntRunner extends EclipseApp.AntRunner {
37 /** Creates an ant task of the given type, configued by the `setup` action. */
38 public static P2AntRunner create(String taskType, Action<Node> setup) {
39 Node rootTask = new Node(null, taskType);
40 setup.execute(rootTask);
41 P2AntRunner antTask = new P2AntRunner();
42 antTask.setTask(rootTask);
43 return antTask;
44 }
45
46 protected P2AntRunner() {}
47

Callers 5

mirrorAppMethod · 0.95
gradleRunnerMethod · 0.45
PluginCatalogClass · 0.45
MavenRepoBuilderClass · 0.45
applyOnceMethod · 0.45

Calls 2

executeMethod · 0.80
setTaskMethod · 0.80

Tested by 1

gradleRunnerMethod · 0.36