diff --git a/build.gradle b/build.gradle index 137e8b1c..3b49a5c1 100644 --- a/build.gradle +++ b/build.gradle @@ -1,4 +1,3 @@ - subprojects { group = 'org.springframework.experimental' version = "0.1.0-SNAPSHOT" diff --git a/graphql-spring-boot-starter/build.gradle b/graphql-spring-boot-starter/build.gradle index 2efbe23c..cecd1cd5 100644 --- a/graphql-spring-boot-starter/build.gradle +++ b/graphql-spring-boot-starter/build.gradle @@ -8,8 +8,11 @@ plugins { } description = "GraphQL Spring Boot Starter" -sourceCompatibility = 1.8 -targetCompatibility = 1.8 + +java { + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 +} dependencyManagement { imports { diff --git a/spring-graphql-web/build.gradle b/spring-graphql-web/build.gradle index 57047bbb..a6a7d11a 100644 --- a/spring-graphql-web/build.gradle +++ b/spring-graphql-web/build.gradle @@ -6,8 +6,11 @@ plugins { } description = "GraphQL Java support with Spring Web frameworks" -sourceCompatibility = 1.8 -targetCompatibility = 1.8 + +java { + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 +} dependencyManagement { imports {