diff options
author | Thibault Gagnaux <tgagnaux@gmail.com> | 2022-02-09 21:37:28 +0100 |
---|---|---|
committer | Thibault Gagnaux <tgagnaux@gmail.com> | 2022-02-09 21:37:28 +0100 |
commit | 0aa4dd065ee78f9acc88b39625cc4a9b47f6c944 (patch) | |
tree | 11cc097399a8304fa76260493347d384e987f669 /src/functionalTest/java/ch/fhnw/thga/gradleplugins/fregeproject/Build.java | |
parent | 43ee2210fa07f42a13ac6879ae167db6d2729742 (diff) | |
download | frege-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.java | 6 |
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; } |