[build] fuck it 1.20.6 only

This commit is contained in:
Ryder Belserion 2024-06-16 21:50:42 -04:00
parent d38a0f4eee
commit 6402aa2181
No known key found for this signature in database
4 changed files with 8 additions and 9 deletions

View File

@ -21,11 +21,11 @@ jobs:
- name: Validate Gradle Wrapper
uses: gradle/actions/wrapper-validation@v3
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
java-version: 21
check-latest: true
- name: Gradle Properties Import.

View File

@ -26,14 +26,14 @@ repositories {
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
languageVersion.set(JavaLanguageVersion.of(21))
}
}
tasks {
compileJava {
options.encoding = Charsets.UTF_8.name()
options.release.set(17)
options.release.set(21)
}
javadoc {

View File

@ -1,7 +1,7 @@
[versions]
# Minecraft
paper = "1.20.4-R0.1-SNAPSHOT"
minecraft = "1.20.4"
paper = "1.20.6-R0.1-SNAPSHOT"
minecraft = "1.20.6"
# Plugins
itemsadder = "3.6.3-beta-14"

View File

@ -65,7 +65,7 @@ tasks {
url("https://download.luckperms.net/1544/bukkit/loader/LuckPerms-Bukkit-5.4.131.jar")
}
minecraftVersion("1.20.4")
minecraftVersion(libs.versions.minecraft.get())
}
assemble {
@ -89,8 +89,7 @@ tasks {
inputs.properties("version" to project.version)
inputs.properties("group" to project.group)
inputs.properties("description" to project.properties["description"])
//inputs.properties("apiVersion" to libs.versions.minecraft.get())
inputs.properties("apiVersion" to "1.20")
inputs.properties("apiVersion" to libs.versions.minecraft.get())
inputs.properties("authors" to project.properties["authors"])
inputs.properties("website" to project.properties["website"])