mirror of
https://github.com/Crazy-Crew/CrazyAuctions.git
synced 2024-11-28 12:56:50 +01:00
[build] set java version to 17
This commit is contained in:
parent
c0fc1c2f51
commit
a21bfda27a
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -21,11 +21,11 @@ jobs:
|
||||
- name: Validate Gradle Wrapper
|
||||
uses: gradle/actions/wrapper-validation@v3
|
||||
|
||||
- name: Set up JDK 21
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: 21
|
||||
java-version: 17
|
||||
check-latest: true
|
||||
|
||||
- name: Gradle Properties Import.
|
||||
|
@ -26,14 +26,14 @@ repositories {
|
||||
|
||||
java {
|
||||
toolchain {
|
||||
languageVersion.set(JavaLanguageVersion.of(21))
|
||||
languageVersion.set(JavaLanguageVersion.of(17))
|
||||
}
|
||||
}
|
||||
|
||||
tasks {
|
||||
compileJava {
|
||||
options.encoding = Charsets.UTF_8.name()
|
||||
options.release.set(21)
|
||||
options.release.set(17)
|
||||
}
|
||||
|
||||
javadoc {
|
||||
|
@ -1,7 +1,7 @@
|
||||
[versions]
|
||||
# Minecraft
|
||||
paper = "1.20.6-R0.1-SNAPSHOT"
|
||||
minecraft = "1.20.6"
|
||||
paper = "1.20.4-R0.1-SNAPSHOT"
|
||||
minecraft = "1.20.4"
|
||||
|
||||
# Plugins
|
||||
itemsadder = "3.6.3-beta-14"
|
||||
|
Loading…
Reference in New Issue
Block a user