From 64f64ba921589cbdcaeab2bd631e2a298394c7b9 Mon Sep 17 00:00:00 2001 From: Ronald Holshausen Date: Tue, 29 Sep 2020 12:08:57 +1000 Subject: [PATCH] chore: switch to Java 11 --- provider/build.gradle | 2 +- .../example/sirenprovider/SirenProviderApplication.java | 6 +++--- .../sirenprovider/SirenProviderApplicationTests.java | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/provider/build.gradle b/provider/build.gradle index f617265..6e73ef7 100644 --- a/provider/build.gradle +++ b/provider/build.gradle @@ -6,7 +6,7 @@ plugins { group = 'io.pactflow.example' version = '0.0.1-SNAPSHOT' -sourceCompatibility = '14' +sourceCompatibility = '11' repositories { mavenCentral() diff --git a/provider/src/main/java/io/pactflow/example/sirenprovider/SirenProviderApplication.java b/provider/src/main/java/io/pactflow/example/sirenprovider/SirenProviderApplication.java index 49b82a6..8384734 100644 --- a/provider/src/main/java/io/pactflow/example/sirenprovider/SirenProviderApplication.java +++ b/provider/src/main/java/io/pactflow/example/sirenprovider/SirenProviderApplication.java @@ -6,8 +6,8 @@ import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class SirenProviderApplication { - public static void main(String[] args) { - SpringApplication.run(SirenProviderApplication.class, args); - } + public static void main(String[] args) { + SpringApplication.run(SirenProviderApplication.class, args); + } } diff --git a/provider/src/test/java/io/pactflow/example/sirenprovider/SirenProviderApplicationTests.java b/provider/src/test/java/io/pactflow/example/sirenprovider/SirenProviderApplicationTests.java index f6fcd08..b47da1d 100644 --- a/provider/src/test/java/io/pactflow/example/sirenprovider/SirenProviderApplicationTests.java +++ b/provider/src/test/java/io/pactflow/example/sirenprovider/SirenProviderApplicationTests.java @@ -6,8 +6,8 @@ import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest class SirenProviderApplicationTests { - @Test - void contextLoads() { - } + @Test + void contextLoads() { + } } -- 2.20.1