File tree 5 files changed +12
-12
lines changed
5 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 15
15
steps :
16
16
- uses : actions/checkout@v1
17
17
- uses : gradle/wrapper-validation-action@v1
18
- - name : Set up JDK 1.8
18
+ - name : Set up JDK 11
19
19
uses : actions/setup-java@v1
20
20
with :
21
- java-version : ' 8 .0.282 '
21
+ java-version : ' 11 .0.17 '
22
22
- name : build test and publish
23
23
run : ./gradlew assemble && ./gradlew check --info && ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository -x check --info --stacktrace
Original file line number Diff line number Diff line change 7
7
pull_request :
8
8
branches :
9
9
- master
10
+ - 20.x
10
11
- 19.x
11
12
- 18.x
12
- - 17.x
13
13
jobs :
14
14
buildAndTest :
15
15
runs-on : ubuntu-latest
16
16
steps :
17
17
- uses : actions/checkout@v1
18
18
- uses : gradle/wrapper-validation-action@v1
19
- - name : Set up JDK 1.8
19
+ - name : Set up JDK 11
20
20
uses : actions/setup-java@v1
21
21
with :
22
- java-version : ' 8 .0.282 '
22
+ java-version : ' 11 .0.17 '
23
23
- name : build and test
24
24
run : ./gradlew assemble && ./gradlew check --info --stacktrace
Original file line number Diff line number Diff line change 19
19
steps :
20
20
- uses : actions/checkout@v1
21
21
- uses : gradle/wrapper-validation-action@v1
22
- - name : Set up JDK 1.8
22
+ - name : Set up JDK 11
23
23
uses : actions/setup-java@v1
24
24
with :
25
- java-version : ' 8 .0.282 '
25
+ java-version : ' 11 .0.17 '
26
26
- name : build test and publish
27
27
run : ./gradlew assemble && ./gradlew check --info && ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository -x check --info --stacktrace
Original file line number Diff line number Diff line change 1
1
# Extended Scalars for graphql-java
2
2
3
3
[ ![ Build Status] ( https://github.com/graphql-java/graphql-java-extended-scalars/actions/workflows/master.yml/badge.svg )] ( https://github.com/graphql-java/graphql-java-extended-scalars/actions/workflows/master.yml )
4
- [ ![ Latest Release] ( https://img.shields.io/maven-central/v/com.graphql-java/graphql-java-extended-scalars?versionPrefix=19 . )] ( https://maven-badges.herokuapp.com/maven-central/com.graphql-java/graphql-java-extended-scalars/ )
4
+ [ ![ Latest Release] ( https://img.shields.io/maven-central/v/com.graphql-java/graphql-java-extended-scalars?versionPrefix=20 . )] ( https://maven-badges.herokuapp.com/maven-central/com.graphql-java/graphql-java-extended-scalars/ )
5
5
[ ![ Latest Snapshot] ( https://img.shields.io/maven-central/v/com.graphql-java/graphql-java-extended-scalars?label=maven-central%20snapshot )] ( https://maven-badges.herokuapp.com/maven-central/com.graphql-java/graphql-java-extended-scalars/ )
6
6
[ ![ MIT licensed] ( https://img.shields.io/badge/license-MIT-green )] ( https://github.com/graphql-java/graphql-java-extended-scalars/blob/master/LICENSE.md )
7
7
Original file line number Diff line number Diff line change @@ -31,14 +31,14 @@ version = releaseVersion ? releaseVersion : getDevelopmentVersion()
31
31
println " Building version = " + version
32
32
group = ' com.graphql-java'
33
33
34
- if (JavaVersion . current() != JavaVersion . VERSION_1_8 ) {
35
- def msg = String . format(" This build must be run with java 1.8 - you are running %s - gradle finds the JDK via JAVA_HOME=%s" ,
34
+ if (JavaVersion . current() != JavaVersion . VERSION_11 ) {
35
+ def msg = String . format(" This build must be run with Java 11 - you are running %s - gradle finds the JDK via JAVA_HOME=%s" ,
36
36
JavaVersion . current(), System . getenv(" JAVA_HOME" ))
37
37
throw new GradleException (msg)
38
38
}
39
39
40
- sourceCompatibility = 1.8
41
- targetCompatibility = 1.8
40
+ sourceCompatibility = JavaVersion . VERSION_11 . toString()
41
+ targetCompatibility = JavaVersion . VERSION_11 . toString()
42
42
43
43
repositories {
44
44
mavenCentral()
You can’t perform that action at this time.
0 commit comments