Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 827a421

Browse files
committedDec 6, 2022
Merge branch 'master' into renovate/major-spring-boot
2 parents f1bf738 + df03646 commit 827a421

File tree

9 files changed

+31
-25
lines changed

9 files changed

+31
-25
lines changed
 

‎.github/workflows/pull-request.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
os: [ubuntu-latest, macos-latest, windows-latest]
19-
java: [11, 15]
19+
java: [17, 19]
2020
needs: validation
2121
runs-on: ${{ matrix.os }}
2222
steps:
@@ -59,12 +59,12 @@ jobs:
5959
if: env.SONAR_TOKEN != null
6060
with:
6161
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
62-
- name: Set up JDK 11
62+
- name: Set up JDK 17
6363
if: env.SONAR_TOKEN != null
6464
uses: actions/setup-java@v3
6565
with:
6666
distribution: 'zulu'
67-
java-version: 11
67+
java-version: 17
6868
- name: Cache SonarCloud packages
6969
if: env.SONAR_TOKEN != null
7070
uses: actions/cache@v3
@@ -84,4 +84,4 @@ jobs:
8484
env:
8585
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
8686
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
87-
run: ./gradlew build jacocoTestReport sonarqube --info
87+
run: ./gradlew build jacocoTestReport sonar --info

‎.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ jobs:
1919
uses: actions/setup-java@v3
2020
with:
2121
distribution: 'zulu'
22-
java-version: 11
22+
java-version: 17
2323
- name: Cache Gradle
2424
uses: actions/cache@v3
2525
env:
26-
java-version: 11
26+
java-version: 17
2727
with:
2828
path: |
2929
~/.gradle/caches
@@ -46,11 +46,11 @@ jobs:
4646
uses: actions/setup-java@v3
4747
with:
4848
distribution: 'zulu'
49-
java-version: 11
49+
java-version: 17
5050
- name: Cache Gradle
5151
uses: actions/cache@v3
5252
env:
53-
java-version: 11
53+
java-version: 17
5454
with:
5555
path: |
5656
~/.gradle/caches

‎.github/workflows/snapshot.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ jobs:
2222
uses: actions/setup-java@v3
2323
with:
2424
distribution: 'zulu'
25-
java-version: 11
25+
java-version: 17
2626
- name: Cache Gradle
2727
uses: actions/cache@v3
2828
env:
29-
java-version: 11
29+
java-version: 17
3030
with:
3131
path: |
3232
~/.gradle/caches
@@ -49,11 +49,11 @@ jobs:
4949
uses: actions/setup-java@v3
5050
with:
5151
distribution: 'zulu'
52-
java-version: 11
52+
java-version: 17
5353
- name: Cache Gradle
5454
uses: actions/cache@v3
5555
env:
56-
java-version: 11
56+
java-version: 17
5757
with:
5858
path: |
5959
~/.gradle/caches
@@ -77,11 +77,11 @@ jobs:
7777
- uses: actions/checkout@v3
7878
with:
7979
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
80-
- name: Set up JDK 11
80+
- name: Set up JDK 17
8181
uses: actions/setup-java@v3
8282
with:
8383
distribution: 'zulu'
84-
java-version: 11
84+
java-version: 17
8585
- name: Cache SonarCloud packages
8686
uses: actions/cache@v3
8787
with:
@@ -98,4 +98,4 @@ jobs:
9898
env:
9999
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
100100
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
101-
run: ./gradlew build jacocoTestReport sonarqube --info
101+
run: ./gradlew build jacocoTestReport sonar --info

‎build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
plugins {
22
id "org.springframework.boot" version "$LIB_SPRING_BOOT_VER" apply false
3-
id "org.sonarqube" version "3.4.0.2513"
3+
id "org.sonarqube" version "3.5.0.2730"
44
id "jacoco"
55
id 'io.codearte.nexus-staging' version '0.30.0'
66
}
77

8-
sonarqube {
8+
sonar {
99
properties {
1010
property "sonar.projectKey", "graphql-java-kickstart_graphql-spring-webclient"
1111
property "sonar.organization", "graphql-java-kickstart"
@@ -58,8 +58,8 @@ subprojects {
5858
}
5959

6060
compileJava {
61-
sourceCompatibility = JavaVersion.VERSION_1_8
62-
targetCompatibility = JavaVersion.VERSION_1_8
61+
sourceCompatibility = JavaVersion.VERSION_17
62+
targetCompatibility = JavaVersion.VERSION_17
6363
}
6464

6565
compileJava.dependsOn(processResources)

‎gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version=1.1.0-SNAPSHOT
1+
version=2.0.0-SNAPSHOT
22

33
PROJECT_GROUP = com.graphql-java-kickstart
44
PROJECT_NAME = graphql-spring-webclient

‎gradle/wrapper/gradle-wrapper.jar

818 Bytes
Binary file not shown.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-all.zip
4+
networkTimeout=10000
45
zipStoreBase=GRADLE_USER_HOME
56
zipStorePath=wrapper/dists

‎gradlew

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
# Darwin, MinGW, and NonStop.
5656
#
5757
# (3) This script is generated from the Groovy template
58-
# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
58+
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
5959
# within the Gradle project.
6060
#
6161
# You can find Gradle at https://github.com/gradle/gradle/.
@@ -80,10 +80,10 @@ do
8080
esac
8181
done
8282

83-
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
84-
85-
APP_NAME="Gradle"
83+
# This is normally unused
84+
# shellcheck disable=SC2034
8685
APP_BASE_NAME=${0##*/}
86+
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
8787

8888
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
8989
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
@@ -143,12 +143,16 @@ fi
143143
if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
144144
case $MAX_FD in #(
145145
max*)
146+
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
147+
# shellcheck disable=SC3045
146148
MAX_FD=$( ulimit -H -n ) ||
147149
warn "Could not query maximum file descriptor limit"
148150
esac
149151
case $MAX_FD in #(
150152
'' | soft) :;; #(
151153
*)
154+
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
155+
# shellcheck disable=SC3045
152156
ulimit -n "$MAX_FD" ||
153157
warn "Could not set maximum file descriptor limit to $MAX_FD"
154158
esac

‎gradlew.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ if "%OS%"=="Windows_NT" setlocal
2626

2727
set DIRNAME=%~dp0
2828
if "%DIRNAME%"=="" set DIRNAME=.
29+
@rem This is normally unused
2930
set APP_BASE_NAME=%~n0
3031
set APP_HOME=%DIRNAME%
3132

0 commit comments

Comments
 (0)
Please sign in to comment.