mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-08-29 16:47:56 +00:00
update configs for more minimalisting environment
This commit is contained in:
9
.gitpod.Dockerfile
vendored
9
.gitpod.Dockerfile
vendored
@@ -1,4 +1,4 @@
|
|||||||
FROM gitpod/workspace-full
|
FROM gitpod/workspace-base
|
||||||
|
|
||||||
USER gitpod
|
USER gitpod
|
||||||
|
|
||||||
@@ -11,4 +11,9 @@ USER gitpod
|
|||||||
#
|
#
|
||||||
# More information: https://www.gitpod.io/docs/config-docker/
|
# More information: https://www.gitpod.io/docs/config-docker/
|
||||||
|
|
||||||
RUN bash -c ". /home/gitpod/.sdkman/bin/sdkman-init.sh && sdk install java 8.0.292.hs-adpt"
|
# Install Java 8 and 16
|
||||||
|
RUN sudo apt-get -q update && \
|
||||||
|
sudo apt install -yq openjdk-8-jdk openjdk-16-jdk
|
||||||
|
|
||||||
|
# This is so that you can use java 8 until such a time as you switch to java 16
|
||||||
|
RUN sudo update-java-alternatives --set java-1.8.0-openjdk-amd64
|
@@ -7,13 +7,12 @@ ports:
|
|||||||
|
|
||||||
vscode:
|
vscode:
|
||||||
extensions:
|
extensions:
|
||||||
- eamodio.gitlens
|
- ms-azuretools.vscode-docker
|
||||||
- github.vscode-pull-request-github
|
|
||||||
- redhat.java
|
- redhat.java
|
||||||
- richardwillis.vscode-gradle
|
- richardwillis.vscode-gradle
|
||||||
- vscjava.vscode-java-debug
|
- vscjava.vscode-java-debug
|
||||||
|
- vscode.github
|
||||||
|
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- init: ./gradlew
|
- init: ./gradlew
|
||||||
command: ./gradlew genSources
|
|
||||||
|
14
.vscode/settings.json
vendored
14
.vscode/settings.json
vendored
@@ -11,17 +11,5 @@
|
|||||||
"**/.editorconfig": true,
|
"**/.editorconfig": true,
|
||||||
},
|
},
|
||||||
|
|
||||||
"java.configuration.updateBuildConfiguration": "automatic",
|
"java.configuration.updateBuildConfiguration": "automatic"
|
||||||
"java.home": "/home/gitpod/.sdkman/candidates/java/11.0.10.fx-zulu",
|
|
||||||
"java.configuration.runtimes": [
|
|
||||||
{
|
|
||||||
"name": "JavaSE-1.8",
|
|
||||||
"path": "/home/gitpod/.sdkman/candidates/java/current",
|
|
||||||
"default": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "JavaSE-11",
|
|
||||||
"path": "/home/gitpod/.sdkman/candidates/java/11.0.10.fx-zulu",
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
Reference in New Issue
Block a user