diff --git a/build.gradle b/build.gradle index 46c5c8cada7d73a73005beaa1808edb9ba21b0da..062466eaa6164200ff779309c31a72f3f7cc5b85 100644 --- a/build.gradle +++ b/build.gradle @@ -6,6 +6,9 @@ plugins { id 'java' } +sourceCompatibility = 11 +targetCompatibility = 11 + repositories { mavenCentral() maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } @@ -25,4 +28,9 @@ subprojects { mavenCentral() maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } } + + apply plugin: 'java' + + sourceCompatibility = 11 + targetCompatibility = 11 } diff --git a/tools/compile-results/src/main/java/moobench/tools/results/CompileResultsMain.java b/tools/compile-results/src/main/java/moobench/tools/results/CompileResultsMain.java index c87e4082422fa5d4f926ff52718f671ebd244f0e..a7e837a3e8b5e9f7dbbebb45367983f73affb611 100644 --- a/tools/compile-results/src/main/java/moobench/tools/results/CompileResultsMain.java +++ b/tools/compile-results/src/main/java/moobench/tools/results/CompileResultsMain.java @@ -42,7 +42,7 @@ public class CompileResultsMain extends AbstractService<TeetimeConfiguration, Se @Override protected TeetimeConfiguration createTeetimeConfiguration() throws ConfigurationException { - return new TeetimeConfiguration(this.parameterConfiguration); + return new TeetimeConfiguration(this.settings); } @Override @@ -57,7 +57,7 @@ public class CompileResultsMain extends AbstractService<TeetimeConfiguration, Se @Override protected boolean checkParameters(final JCommander commander) throws ConfigurationException { - for (final Path inputPath : this.parameterConfiguration.getInputPaths()) { + for (final Path inputPath : this.settings.getInputPaths()) { if (!inputPath.toFile().isFile() || !inputPath.toFile().exists()) { this.logger.error("Cannot read input file {}", inputPath.toString()); return false;