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
|
- name: Validate Gradle Wrapper
|
||||||
uses: gradle/actions/wrapper-validation@v3
|
uses: gradle/actions/wrapper-validation@v3
|
||||||
|
|
||||||
- name: Set up JDK 21
|
- name: Set up JDK 17
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: 21
|
java-version: 17
|
||||||
check-latest: true
|
check-latest: true
|
||||||
|
|
||||||
- name: Gradle Properties Import.
|
- name: Gradle Properties Import.
|
||||||
|
@ -26,14 +26,14 @@ repositories {
|
|||||||
|
|
||||||
java {
|
java {
|
||||||
toolchain {
|
toolchain {
|
||||||
languageVersion.set(JavaLanguageVersion.of(21))
|
languageVersion.set(JavaLanguageVersion.of(17))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks {
|
tasks {
|
||||||
compileJava {
|
compileJava {
|
||||||
options.encoding = Charsets.UTF_8.name()
|
options.encoding = Charsets.UTF_8.name()
|
||||||
options.release.set(21)
|
options.release.set(17)
|
||||||
}
|
}
|
||||||
|
|
||||||
javadoc {
|
javadoc {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[versions]
|
[versions]
|
||||||
# Minecraft
|
# Minecraft
|
||||||
paper = "1.20.6-R0.1-SNAPSHOT"
|
paper = "1.20.4-R0.1-SNAPSHOT"
|
||||||
minecraft = "1.20.6"
|
minecraft = "1.20.4"
|
||||||
|
|
||||||
# Plugins
|
# Plugins
|
||||||
itemsadder = "3.6.3-beta-14"
|
itemsadder = "3.6.3-beta-14"
|
||||||
|
Loading…
Reference in New Issue
Block a user