diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..4bcdcbbe05255c176befac9ac1408007f41dcdd9 --- /dev/null +++ b/.devcontainer/Dockerfile @@ -0,0 +1,7 @@ +# [Choice] Debian OS version (use bullseye on local arm64/Apple Silicon): bookworm, buster, bullseye +ARG VARIANT="bookworm" +FROM mcr.microsoft.com/devcontainers/java:17 + +# [Optional] Uncomment this section to install additional OS packages. +# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ +# && apt-get -y install --no-install-recommends <your-package-list-here> \ No newline at end of file diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000000000000000000000000000000000000..69e155f9b7a8fd92646414f355ed6cb8de7e1ba0 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,41 @@ +{ + "build": { + "dockerfile": "./Dockerfile", + "context": ".." + }, + "workspaceFolder": "/workspaces/tnt-crusher-plugin/", + "features": { + "ghcr.io/devcontainers/features/java:1": { + "version": "none", + "installGradle": "true", + "installMaven": "true" + }, + "ghcr.io/devcontainers/features/git:1": { + "version": "latest", + "ppa": "false" + } + }, + "containerEnv": { + "JAVA_HOME": "/usr/lib/jvm/msopenjdk-current" + }, + // 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" + ] + } + }, + // Use 'forwardPorts' to make a list of ports inside the container available locally. + // "forwardPorts": [], + + // Use 'postCreateCommand' to run commands after the container is created. + // "postCreateCommand": "java -version", + + // Set `remoteUser` to `root` to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. + "remoteUser": "vscode" +} \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..5b3e0c1035a7882a83232c2ae7adc59aea39b205 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +target/* +.vscode \ No newline at end of file