forked from JabRef/jabref
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevcontainer.json
43 lines (37 loc) · 1.49 KB
/
devcontainer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.245.2/containers/java
{
"name": "Java",
"image": "mcr.microsoft.com/vscode/devcontainers/base:bullseye",
// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
// Set *default* container specific settings.json values on container create.
"settings": {
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"vscjava.vscode-java-pack",
"vscjava.vscode-gradle",
"shengchen.vscode-checkstyle"
]
}
},
"onCreateCommand": "gradle assemble",
// Forward the noVNC port (desktop-lite: https://github.com/devcontainers/features/tree/main/src/desktop-lite)
"forwardPorts": [6080],
// Need to connect as root otherwise we run into issues with gradle.
// default option is "vscode". More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "root",
"features": {
// Adds a lightweight desktop that can be accessed using a VNC viewer or the web
"desktop-lite": "latest",
// Install java
"java": {
"version": "18",
"installGradle": true,
"jdkDistro": "sem"
}
}
}