Skip to content

Commit dbcf20b

Browse files
committed
fix
1 parent 6da6bac commit dbcf20b

File tree

1 file changed

+10
-26
lines changed

1 file changed

+10
-26
lines changed

.devcontainer/devcontainer.json

Lines changed: 10 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
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
31
{
42
"name": "Acode Development",
5-
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
63
"image": "mcr.microsoft.com/devcontainers/java:1-21-bullseye",
74

85
"features": {
@@ -13,20 +10,19 @@
1310
"installAnt": false,
1411
"version": "21",
1512
"jdkDistro": "ms",
16-
"gradleVersion": "latest",
17-
"mavenVersion": "none",
18-
"mavenVersion": "none"
13+
"gradleVersion": "latest"
14+
},
1915
"ghcr.io/nordcominc/devcontainer-features/android-sdk:1": {
2016
"platform": "35",
21-
"build_tools": "35.0.0",
17+
"build_tools": "35.0.0"
2218
},
2319
"ghcr.io/devcontainers/features/node:1": {
2420
"nodeGypDependencies": false,
2521
"installYarnUsingApt": false,
2622
"version": "lts",
2723
"pnpmVersion": "latest",
28-
"nvmVersion": "latest",
29-
},
24+
"nvmVersion": "latest"
25+
}
3026
},
3127

3228
"postCreateCommand": "pnpm run setup",
@@ -38,21 +34,9 @@
3834
"editor.formatOnSave": true,
3935
"editor.defaultFormatter": "biomejs.biome",
4036
"[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+
}
5842
}

0 commit comments

Comments
 (0)