Skip to content

Commit 35cf507

Browse files
Update dependencies (#116)
* chore: Update dependencies * chore: Add vscode settings --------- Co-authored-by: Romuald Rousseau <romuald.rousseau@servier.com>
1 parent 3682f0e commit 35cf507

File tree

4 files changed

+97
-4
lines changed

4 files changed

+97
-4
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ buildNumber.properties
2222
*.geany
2323
*.sublime-project
2424
*.sublime-workspace
25-
.vscode
2625
.venv/
2726
.factorypath
2827

.vscode/launch.json

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "java",
9+
"name": "Tutorial1",
10+
"request": "launch",
11+
"mainClass": "com.github.romualdrousseau.archery.examples.Tutorial1",
12+
"projectName": "archery-examples",
13+
"vmArgs": "-ea -Dfile.encoding=\"UTF-8\" --add-opens=java.base/java.nio=ALL-UNNAMED"
14+
},
15+
{
16+
"type": "java",
17+
"name": "Tutorial2",
18+
"request": "launch",
19+
"mainClass": "com.github.romualdrousseau.archery.examples.Tutorial2",
20+
"projectName": "archery-examples",
21+
"vmArgs": "-ea -Dfile.encoding=\"UTF-8\" --add-opens=java.base/java.nio=ALL-UNNAMED"
22+
},
23+
{
24+
"type": "java",
25+
"name": "Tutorial3",
26+
"request": "launch",
27+
"mainClass": "com.github.romualdrousseau.archery.examples.Tutorial3",
28+
"projectName": "archery-examples",
29+
"vmArgs": "-ea -Dfile.encoding=\"UTF-8\" --add-opens=java.base/java.nio=ALL-UNNAMED"
30+
},
31+
{
32+
"type": "java",
33+
"name": "Tutorial4",
34+
"request": "launch",
35+
"mainClass": "com.github.romualdrousseau.archery.examples.Tutorial4",
36+
"projectName": "archery-examples",
37+
"vmArgs": "-ea -Dfile.encoding=\"UTF-8\" --add-opens=java.base/java.nio=ALL-UNNAMED"
38+
},
39+
{
40+
"type": "java",
41+
"name": "Tutorial5",
42+
"request": "launch",
43+
"mainClass": "com.github.romualdrousseau.archery.examples.Tutorial5",
44+
"projectName": "archery-examples",
45+
"vmArgs": "-ea -Dfile.encoding=\"UTF-8\" --add-opens=java.base/java.nio=ALL-UNNAMED"
46+
},
47+
{
48+
"type": "java",
49+
"name": "Tutorial6",
50+
"request": "launch",
51+
"mainClass": "com.github.romualdrousseau.archery.examples.Tutorial6",
52+
"projectName": "archery-examples",
53+
"vmArgs": "-ea -Dfile.encoding=\"UTF-8\" --add-opens=java.base/java.nio=ALL-UNNAMED"
54+
},
55+
{
56+
"type": "java",
57+
"name": "Tutorial7",
58+
"request": "launch",
59+
"mainClass": "com.github.romualdrousseau.archery.examples.Tutorial7",
60+
"projectName": "archery-examples",
61+
"vmArgs": "-ea -Dfile.encoding=\"UTF-8\" --add-opens=java.base/java.nio=ALL-UNNAMED"
62+
},
63+
{
64+
"type": "java",
65+
"name": "Tutorial8",
66+
"request": "launch",
67+
"mainClass": "com.github.romualdrousseau.archery.examples.Tutorial8",
68+
"projectName": "archery-examples",
69+
"vmArgs": "-ea -Dfile.encoding=\"UTF-8\" --add-opens=java.base/java.nio=ALL-UNNAMED"
70+
},
71+
{
72+
"type": "java",
73+
"name": "Tutorial9",
74+
"request": "launch",
75+
"mainClass": "com.github.romualdrousseau.archery.examples.Tutorial9",
76+
"projectName": "archery-examples",
77+
"vmArgs": "-ea -Dfile.encoding=\"UTF-8\" --add-opens=java.base/java.nio=ALL-UNNAMED"
78+
},
79+
{
80+
"type": "java",
81+
"name": "Current File",
82+
"request": "launch",
83+
"mainClass": "${file}",
84+
"vmArgs": "-ea -Dfile.encoding=\"UTF-8\" --add-opens=java.base/java.nio=ALL-UNNAMED"
85+
}
86+
]
87+
}

.vscode/settings.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"java.test.config": {
3+
"envFile": "${workspaceFolder}/.env"
4+
},
5+
"java.compile.nullAnalysis.mode": "disabled",
6+
"java.configuration.updateBuildConfiguration": "interactive"
7+
}

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@
4949
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
5050
<project.build.reportingEncoding>UTF-8</project.build.reportingEncoding>
5151
<java.version>21</java.version>
52-
<maven.compiler.source>21</maven.compiler.source>
53-
<maven.compiler.target>21</maven.compiler.target>
54-
<maven.compiler.release>21</maven.compiler.release>
52+
<maven.compiler.source>${java.version}</maven.compiler.source>
53+
<maven.compiler.target>${java.version}</maven.compiler.target>
54+
<maven.compiler.release>${java.version}</maven.compiler.release>
5555

5656
<maven-minimum.version>3.6.3</maven-minimum.version>
5757

0 commit comments

Comments
 (0)