|
|
|
@ -175,6 +175,7 @@ public class GradleBuild {
|
|
|
|
|
scriptContent = scriptContent.replace("{" + property.getKey() + "}", property.getValue());
|
|
|
|
|
}
|
|
|
|
|
FileCopyUtils.copy(scriptContent, new FileWriter(new File(this.projectDir, "build" + this.dsl.getExtension())));
|
|
|
|
|
new File(this.projectDir, "settings.gradle").createNewFile();
|
|
|
|
|
FileSystemUtils.copyRecursively(new File("src/test/resources/repository"),
|
|
|
|
|
new File(this.projectDir, "repository"));
|
|
|
|
|
GradleRunner gradleRunner = GradleRunner.create().withProjectDir(this.projectDir)
|
|
|
|
|