File tree Expand file tree Collapse file tree 4 files changed +12
-5
lines changed Expand file tree Collapse file tree 4 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 99 # Specify the execution environment. You can specify an image from Docker Hub or use one of our convenience images from CircleCI's Developer Hub.
1010 # See: https://circleci.com/docs/configuration-reference/#executor-job
1111 docker :
12- - image : cimg/openjdk:11 .0.19
12+ - image : cimg/openjdk:17 .0.8
1313 # Add steps to the job
1414 # See: https://circleci.com/docs/configuration-reference/#steps
1515 steps :
Original file line number Diff line number Diff line change 4040
4141 steps :
4242 - name : Checkout repository
43- uses : actions/checkout@v2
43+ uses : actions/checkout@v3
44+
45+ - name : Set up JDK 17
46+ uses : actions/setup-java@v3
47+ with :
48+ distribution : ' temurin'
49+ java-version : ' 17'
50+ cache : ' gradle'
4451
4552 # Initializes the CodeQL tools for scanning.
4653 - name : Initialize CodeQL
Original file line number Diff line number Diff line change 2626group = ' com.github.javadev'
2727version = ' 1.24-SNAPSHOT'
2828description = ' leetcode-in-java'
29- java. sourceCompatibility = JavaVersion . VERSION_11
29+ java. sourceCompatibility = JavaVersion . VERSION_17
3030
3131java {
3232 withSourcesJar()
Original file line number Diff line number Diff line change 4343 <artifactId >maven-compiler-plugin</artifactId >
4444 <version >3.11.0</version >
4545 <configuration >
46- <source >11 </source >
47- <target >11 </target >
46+ <source >17 </source >
47+ <target >17 </target >
4848 <encoding >UTF-8</encoding >
4949 <compilerArgs >
5050 <arg >-Xlint:unchecked</arg >
You can’t perform that action at this time.
0 commit comments