Skip to content

Commit c3e13d1

Browse files
committed
Downgrade java version to 8 fix #5
1 parent 22ec032 commit c3e13d1

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
language: java
22
dist: trusty # https://stackoverflow.com/questions/38912714/travis-failing-junit-tests-for-spring
33
jdk:
4-
- openjdk11
4+
- openjdk8
55
before_install:
66
- chmod +x travis-build.sh
77
script:

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ subprojects {
5151
}
5252

5353
compileJava {
54-
sourceCompatibility = JavaVersion.VERSION_11
55-
targetCompatibility = JavaVersion.VERSION_11
54+
sourceCompatibility = JavaVersion.VERSION_1_8
55+
targetCompatibility = JavaVersion.VERSION_1_8
5656
}
5757

5858
compileJava.dependsOn(processResources)

graphql-webclient-spring-boot-autoconfigure/src/main/java/graphql/kickstart/spring/webclient/boot/GraphQLWebClientAutoConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class GraphQLWebClientAutoConfiguration {
3131
@Bean
3232
@ConditionalOnMissingBean
3333
public WebClient webClient(
34-
WebClient.Builder clientBuilder,
34+
@SuppressWarnings("SpringJavaInjectionPointsAutowiringInspection") WebClient.Builder clientBuilder,
3535
@Autowired(required = false) ReactiveClientRegistrationRepository clientRegistrations
3636
) {
3737
clientBuilder.baseUrl(graphqlClientProperties.getUrl());

0 commit comments

Comments
 (0)