Update WorldEdit Maven Repo & use Java 11 (#43)

* Use HTTPS for sk89q maven repo

Newer Maven releases don't allow use of http endpoints. Bump this to the secure https endpoint.

* Migrate sk89q maven repo to enginehub

Both URLs point to the same place, but according to https://worldguard.enginehub.org/en/latest/developer/dependency/ enginehub is the preferred source.

* Bump Java to Adoptium Hotspot JDK 11
This commit is contained in:
HeroCC 2021-07-16 18:25:24 -04:00 committed by GitHub
parent 3a1e5a356b
commit 79ad6de362
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 7 deletions

View file

@ -13,10 +13,11 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up JDK 8
uses: actions/setup-java@v1
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: 8
java-version: '11'
distribution: 'adopt-hotspot'
- name: Cache SonarCloud packages
uses: actions/cache@v1
with:
@ -33,4 +34,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=PlayPro_CoreProtect -Dsonar.organization=playpro -Dsonar.host.url=https://sonarcloud.io
run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=PlayPro_CoreProtect -Dsonar.organization=playpro -Dsonar.host.url=https://sonarcloud.io