package com.github.blindpirate.gogradle.build;

import com.github.blindpirate.gogradle.core.dependency.ResolvedDependency;

import java.util.List;

public interface BuildManager {

    void ensureDotVendorDirNotExist();

    void prepareSymbolicLinks();

    void installDependency(ResolvedDependency dependency, Configuration configuration);

    void installDependencyToVendor(ResolvedDependency dependency);

    void build();

    void test();

    void testWithPatterns(List<String> testNamePattern);
}

@@ -139,16 +139,38 @@
 il.List;
+%0Aimport java.util.Map;
 %0A%0Apublic
@@ -435,96 +435,178 @@
     
-void build();%0A%0A    void test();%0A%0A    void testWithPatterns(List%3CString%3E testNamePattern
+String getBuildGopath();%0A%0A    String getTestGopath();%0A%0A    void go(List%3CString%3E args, Map%3CString, String%3E env);%0A%0A    void run(List%3CString%3E args, Map%3CString, String%3E env
 );%0A
+%0A
 %7D%0A

Refactor BuildManager