Skip to content

Commit 7d40a22

Browse files
committed
used JDK 17
1 parent b25166d commit 7d40a22

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: java
22
jdk:
3-
- oraclejdk11
3+
- oraclejdk17
44
#sudo: false
55
dist: trusty
66
before_cache:

gradle.properties

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ gradleErrorPronePluginVersion=2.0.2
55
errorProneVersion=2.7.1
66
lombokVersion=1.18.24
77

8-
version=4.9.1
8+
version=5.0.0-SNAPSHOT
99
group=io.github.lognet
1010
description=Spring Boot starter for Google RPC.
1111
gitHubUrl=https\://github.com/LogNet/grpc-spring-boot-starter
@@ -17,3 +17,9 @@ signing.keyId=secured
1717
signing.password=secured
1818
signing.secretKeyRingFile=secured
1919

20+
# The --add-exports arguments are to run GJF on Java 17
21+
org.gradle.jvmargs=--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \
22+
--add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED \
23+
--add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED \
24+
--add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \
25+
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED

0 commit comments

Comments
 (0)