mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-08-28 08:12:18 +00:00
update configs for more minimalisting environment
This commit is contained in:
parent
a960db7ced
commit
de97fa35a8
9
.gitpod.Dockerfile
vendored
9
.gitpod.Dockerfile
vendored
@ -1,4 +1,4 @@
|
||||
FROM gitpod/workspace-full
|
||||
FROM gitpod/workspace-base
|
||||
|
||||
USER gitpod
|
||||
|
||||
@ -11,4 +11,9 @@ USER gitpod
|
||||
#
|
||||
# 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:
|
||||
extensions:
|
||||
- eamodio.gitlens
|
||||
- github.vscode-pull-request-github
|
||||
- ms-azuretools.vscode-docker
|
||||
- redhat.java
|
||||
- richardwillis.vscode-gradle
|
||||
- vscjava.vscode-java-debug
|
||||
- vscode.github
|
||||
|
||||
|
||||
tasks:
|
||||
- init: ./gradlew
|
||||
command: ./gradlew genSources
|
||||
- init: ./gradlew
|
14
.vscode/settings.json
vendored
14
.vscode/settings.json
vendored
@ -11,17 +11,5 @@
|
||||
"**/.editorconfig": true,
|
||||
},
|
||||
|
||||
"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",
|
||||
}
|
||||
]
|
||||
"java.configuration.updateBuildConfiguration": "automatic"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user