aboutsummaryrefslogtreecommitdiff
path: root/src/functionalTest/java/ch/fhnw/thga/gradleplugins/fregeproject/Build.java
diff options
context:
space:
mode:
authorThibault Gagnaux <tgagnaux@gmail.com>2022-02-09 21:37:28 +0100
committerThibault Gagnaux <tgagnaux@gmail.com>2022-02-09 21:37:28 +0100
commit0aa4dd065ee78f9acc88b39625cc4a9b47f6c944 (patch)
tree11cc097399a8304fa76260493347d384e987f669 /src/functionalTest/java/ch/fhnw/thga/gradleplugins/fregeproject/Build.java
parent43ee2210fa07f42a13ac6879ae167db6d2729742 (diff)
downloadfrege-gradle-plugin-0aa4dd065ee78f9acc88b39625cc4a9b47f6c944.tar.gz
frege-gradle-plugin-0aa4dd065ee78f9acc88b39625cc4a9b47f6c944.tar.bz2
frege-gradle-plugin-0aa4dd065ee78f9acc88b39625cc4a9b47f6c944.zip
refactor: continues with staged builder refactoring
Diffstat (limited to 'src/functionalTest/java/ch/fhnw/thga/gradleplugins/fregeproject/Build.java')
-rw-r--r--src/functionalTest/java/ch/fhnw/thga/gradleplugins/fregeproject/Build.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/functionalTest/java/ch/fhnw/thga/gradleplugins/fregeproject/Build.java b/src/functionalTest/java/ch/fhnw/thga/gradleplugins/fregeproject/Build.java
index 60fc835..175ccaa 100644
--- a/src/functionalTest/java/ch/fhnw/thga/gradleplugins/fregeproject/Build.java
+++ b/src/functionalTest/java/ch/fhnw/thga/gradleplugins/fregeproject/Build.java
@@ -1,13 +1,15 @@
package ch.fhnw.thga.gradleplugins.fregeproject;
import java.io.IOException;
-import java.nio.file.Path;
+import java.util.function.Supplier;
+import java.util.stream.Stream;
import org.gradle.api.Project;
public interface Build
{
- Build fregeCompiler(Path fregeCompiler);
+ Build useLocalFregeCompiler(boolean useLocalFregeCompiler);
Build settingsFile(String settingsFile);
+ Build fregeSourceFiles(Supplier<Stream<FregeSourceFile>> fregeSourceFiles);
Project build() throws IOException;
}