diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 0000000000000..3d06e70f531f3 --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,17 @@ +# This configuration file was automatically generated by Gitpod. +# Please adjust to your needs (see https://www.gitpod.io/docs/config-gitpod-file) +# and commit this file to your remote git repository to share the goodness with others. +image: + file: .gitpod/Dockerfile + +tasks: + - init: ./mvnw -Dquickly + - name: Quarkus command + openMode: split-right + +vscode: + extensions: + - "redhat.java" + - "vscjava.vscode-java-dependency" + - "vscjava.vscode-java-debug" + - "vscjava.vscode-java-pack" diff --git a/.gitpod/Dockerfile b/.gitpod/Dockerfile new file mode 100644 index 0000000000000..f15c4361b51e9 --- /dev/null +++ b/.gitpod/Dockerfile @@ -0,0 +1,8 @@ +FROM gitpod/workspace-java-11 + +RUN bash -c ". /home/gitpod/.sdkman/bin/sdkman-init.sh && \ + sdk install java 11.0.9.j9-adpt && \ + sdk use java 11.0.9.j9-adpt && \ + yes | sdk install quarkus && \ + rm -rf $HOME/.sdkman/archives/* && \ + rm -rf $HOME/.sdkman/tmp/* " diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index da89cf5b7e31f..cd99e254b7c13 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -24,6 +24,7 @@ But first, read this page (including the small print at the end). * [`OutOfMemoryError` while importing](#-outofmemoryerror--while-importing) * [`package sun.misc does not exist` while building](#-package-sunmisc-does-not-exist--while-building) * [Formatting](#formatting) + + [Gitpod](#gitpod) * [Build](#build) + [Workflow tips](#workflow-tips) - [Building all modules of an extension](#building-all-modules-of-an-extension) @@ -288,6 +289,11 @@ navigate to _Editor_ -> _Code Style_ -> _Java_ -> _Imports_ and set _Class count to use import with '\*'_ to `999`. Do the same with _Names count to use static import with '\*'_. +### Gitpod + +You can also use [Gitpod](https://gitpod.io) to contribute without installing anything on your computer. Click [here](https://gitpod.io/#https://github.com/quarkusio/quarkus/-/tree/main/) to start a workspace. + + ## Build * Clone the repository: `git clone https://github.com/quarkusio/quarkus.git`