File tree Expand file tree Collapse file tree 5 files changed +12
-12
lines changed Expand file tree Collapse file tree 5 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 1515 steps :
1616 - uses : actions/checkout@v1
1717 - uses : gradle/wrapper-validation-action@v1
18- - name : Set up JDK 1.8
18+ - name : Set up JDK 11
1919 uses : actions/setup-java@v1
2020 with :
21- java-version : ' 8 .0.282 '
21+ java-version : ' 11 .0.17 '
2222 - name : build test and publish
2323 run : ./gradlew assemble && ./gradlew check --info && ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository -x check --info --stacktrace
Original file line number Diff line number Diff line change 77 pull_request :
88 branches :
99 - master
10+ - 20.x
1011 - 19.x
1112 - 18.x
12- - 17.x
1313jobs :
1414 buildAndTest :
1515 runs-on : ubuntu-latest
1616 steps :
1717 - uses : actions/checkout@v1
1818 - uses : gradle/wrapper-validation-action@v1
19- - name : Set up JDK 1.8
19+ - name : Set up JDK 11
2020 uses : actions/setup-java@v1
2121 with :
22- java-version : ' 8 .0.282 '
22+ java-version : ' 11 .0.17 '
2323 - name : build and test
2424 run : ./gradlew assemble && ./gradlew check --info --stacktrace
Original file line number Diff line number Diff line change 1919 steps :
2020 - uses : actions/checkout@v1
2121 - uses : gradle/wrapper-validation-action@v1
22- - name : Set up JDK 1.8
22+ - name : Set up JDK 11
2323 uses : actions/setup-java@v1
2424 with :
25- java-version : ' 8 .0.282 '
25+ java-version : ' 11 .0.17 '
2626 - name : build test and publish
2727 run : ./gradlew assemble && ./gradlew check --info && ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository -x check --info --stacktrace
Original file line number Diff line number Diff line change 11# Extended Scalars for graphql-java
22
33[ ![ 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/ )
55[ ![ 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/ )
66[ ![ MIT licensed] ( https://img.shields.io/badge/license-MIT-green )] ( https://github.com/graphql-java/graphql-java-extended-scalars/blob/master/LICENSE.md )
77
Original file line number Diff line number Diff line change @@ -31,14 +31,14 @@ version = releaseVersion ? releaseVersion : getDevelopmentVersion()
3131println " Building version = " + version
3232group = ' com.graphql-java'
3333
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" ,
3636 JavaVersion . current(), System . getenv(" JAVA_HOME" ))
3737 throw new GradleException (msg)
3838}
3939
40- sourceCompatibility = 1.8
41- targetCompatibility = 1.8
40+ sourceCompatibility = JavaVersion . VERSION_11 . toString()
41+ targetCompatibility = JavaVersion . VERSION_11 . toString()
4242
4343repositories {
4444 mavenCentral()
You can’t perform that action at this time.
0 commit comments