package com.github.blindpirate.gogradle.task;

import com.github.blindpirate.gogradle.build.BuildManager;
import org.gradle.api.tasks.TaskAction;

import javax.inject.Inject;

public class BuildTask extends AbstractGolangTask {

    @Inject
    private BuildManager buildManager;

    public BuildTask() {
        dependsOn(GolangTaskContainer.INSTALL_DEPENDENCIES_TASK_NAME);
    }

    @TaskAction
    public void build() {
        buildManager.build();
    }
}

@@ -345,16 +345,22 @@
 INSTALL_
+BUILD_
 DEPENDEN

Rename to INSTALL_BUILD_DEPENDENCIES