|
1 | | -// For format details, see https://aka.ms/devcontainer.json. For config options, see the |
2 | | -// README at: https://github.com/devcontainers/templates/tree/main/src/java |
3 | 1 | { |
4 | 2 | "name": "Acode Development", |
5 | | - // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile |
6 | 3 | "image": "mcr.microsoft.com/devcontainers/java:1-21-bullseye", |
7 | 4 |
|
8 | 5 | "features": { |
|
13 | 10 | "installAnt": false, |
14 | 11 | "version": "21", |
15 | 12 | "jdkDistro": "ms", |
16 | | - "gradleVersion": "latest", |
17 | | - "mavenVersion": "none", |
18 | | - "mavenVersion": "none" |
| 13 | + "gradleVersion": "latest" |
| 14 | + }, |
19 | 15 | "ghcr.io/nordcominc/devcontainer-features/android-sdk:1": { |
20 | 16 | "platform": "35", |
21 | | - "build_tools": "35.0.0", |
| 17 | + "build_tools": "35.0.0" |
22 | 18 | }, |
23 | 19 | "ghcr.io/devcontainers/features/node:1": { |
24 | 20 | "nodeGypDependencies": false, |
25 | 21 | "installYarnUsingApt": false, |
26 | 22 | "version": "lts", |
27 | 23 | "pnpmVersion": "latest", |
28 | | - "nvmVersion": "latest", |
29 | | - }, |
| 24 | + "nvmVersion": "latest" |
| 25 | + } |
30 | 26 | }, |
31 | 27 |
|
32 | 28 | "postCreateCommand": "pnpm run setup", |
|
38 | 34 | "editor.formatOnSave": true, |
39 | 35 | "editor.defaultFormatter": "biomejs.biome", |
40 | 36 | "[java]": { |
41 | | - "editor.defaultFormatter": "redhat.java", |
42 | | - }, |
43 | | - }, |
44 | | - }, |
45 | | - }, |
46 | | - |
47 | | - // Use 'forwardPorts' to make a list of ports inside the container available locally. |
48 | | - // "forwardPorts": [], |
49 | | - |
50 | | - // Use 'postCreateCommand' to run commands after the container is created. |
51 | | - // "postCreateCommand": "java -version", |
52 | | - |
53 | | - // Configure tool-specific properties. |
54 | | - // "customizations": {}, |
55 | | - |
56 | | - // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. |
57 | | - // "remoteUser": "root" |
| 37 | + "editor.defaultFormatter": "redhat.java" |
| 38 | + } |
| 39 | + } |
| 40 | + } |
| 41 | + } |
58 | 42 | } |
0 commit comments