use of com.intellij.packaging.impl.run.BuildArtifactsBeforeRunTaskProvider in project azure-tools-for-java by Microsoft.
the class BeforeRunTaskUtils method createIntellijBuildTask.
@NotNull
public static BeforeRunTask<?> createIntellijBuildTask(@NotNull Artifact artifact, @NotNull RunConfiguration config) {
final BuildArtifactsBeforeRunTaskProvider provider = new BuildArtifactsBeforeRunTaskProvider(config.getProject());
final BuildArtifactsBeforeRunTask task = provider.createTask(config);
task.addArtifact(artifact);
return task;
}
Aggregations