From 95f9774ff7163add3810a82405a0081749ae165f Mon Sep 17 00:00:00 2001 From: Carlos Feria Date: Sat, 20 Jul 2024 12:07:56 -0500 Subject: [PATCH] Task: add devcontainers (#194) --- .devcontainer/devcontainer.json | 28 ++++++++++++++++++++++++++++ .gitignore | 1 + .vscode/settings.json | 3 +++ 3 files changed, 32 insertions(+) create mode 100644 .devcontainer/devcontainer.json create mode 100644 .vscode/settings.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 00000000..0a42cc68 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,28 @@ +{ + "name": "Java 17", + "image": "mcr.microsoft.com/devcontainers/java:17-bullseye", + "features": { + "ghcr.io/devcontainers/features/java:1": { + "version": "17", + "installMaven": "true", + "installGradle": "false" + }, + "ghcr.io/devcontainers/features/docker-in-docker:2": {} + }, + "customizations": { + "vscode": { + "settings": {}, + "extensions": [ + "vscjava.vscode-java-pack", + "github.vscode-github-actions", + "github.vscode-pull-request-github" + ] + }, + "codespaces": { + "openFiles": [ + "README", + "src/index.js" + ] + } + } +} \ No newline at end of file diff --git a/.gitignore b/.gitignore index 1e28114a..8204312a 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,7 @@ .project .settings .classpath +.factorypath # NetBeans # ############ diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..7b016a89 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "java.compile.nullAnalysis.mode": "automatic" +} \ No newline at end of file