Skip to content

Commit

Permalink
Gitpodify repository (#64)
Browse files Browse the repository at this point in the history
PR to add Gitpod configuration. Accommodates Java 17 requirement for VSC Language server
  • Loading branch information
jmMeessen authored Aug 24, 2022
1 parent 726b519 commit 3b88562
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
@@ -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"
16 changes: 16 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 3b88562

Please sign in to comment.