diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile new file mode 100644 index 0000000..b4e74a9 --- /dev/null +++ b/.gitpod.Dockerfile @@ -0,0 +1,8 @@ +FROM gitpod/workspace-full + +USER gitpod + +RUN bash -c ". /home/gitpod/.sdkman/bin/sdkman-init.sh && \ + sdk install java 17.0.3-tem && \ + sdk install java 11.0.15-tem && \ + sdk default java 17.0.3-tem" diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 0000000..9675fb7 --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,16 @@ +# Using an updated Gitpod docker image (when using a non default JDK or tools) +image: + file: .gitpod.Dockerfile + +tasks: + - init: sdk default java 11.0.15-tem && mvn clean verify + +vscode: + extensions: + - bierner.markdown-preview-github-styles + - vscjava.vscode-java-pack + - redhat.java + - vscjava.vscode-java-debug + - vscjava.vscode-java-dependency + - vscjava.vscode-java-test + - vscjava.vscode-maven