Skip to content

Commit

Permalink
Update to mc 1.20.6
Browse files Browse the repository at this point in the history
  • Loading branch information
alexstaeding committed May 17, 2024
1 parent f2c4fb6 commit a8e9fd3
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
10 changes: 7 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,18 @@ allprojects {
}
}

java {
toolchain.languageVersion.set(JavaLanguageVersion.of(21))
}

tasks {
withType<KotlinCompile> {
kotlinOptions.jvmTarget = "17"
kotlinOptions.jvmTarget = "21"
}
withType<JavaCompile> {
options.encoding = "UTF-8"
sourceCompatibility = "17"
targetCompatibility = "17"
sourceCompatibility = "21"
targetCompatibility = "21"
}
}
}
Expand Down
4 changes: 1 addition & 3 deletions example/paper/docker-compose/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# how OnTime may be deployed in a container environment.
# Carefully read and understand the entire configuration before using any part of it.
# By using this file, you are indicating your acceptance of the Minecraft EULA (https://www.minecraft.net/en-us/eula).
version: "3.8"
name: ontime-paper

services:
Expand Down Expand Up @@ -41,8 +40,7 @@ services:
- "25565:25565"
environment:
TYPE: PAPER
VERSION: "1.20.4"
PAPER_DOWNLOAD_URL: "https://nexus.anvilpowered.org/repository/paper-bin/paper/paper-PR8235-1.20.4-1.jar"
VERSION: "1.20.6"
EULA: true # By using this environment variable, you are indicating your acceptance of the Minecraft EULA
ONLINE_MODE: true
PLUGINS: |
Expand Down
5 changes: 2 additions & 3 deletions example/velocity/docker-compose/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# how OnTime may be deployed in a container environment.
# Carefully read and understand the entire configuration before using any part of it.
# By using this file, you are indicating your acceptance of the Minecraft EULA (https://www.minecraft.net/en-us/eula).
version: "3.8"
name: ontime-velocity

services:
Expand Down Expand Up @@ -83,7 +82,7 @@ services:
- 25565
environment:
TYPE: PAPER
VERSION: "1.20.4"
VERSION: "1.20.6"
EULA: true # By using this environment variable, you are indicating your acceptance of the Minecraft EULA
ONLINE_MODE: false
PATCH_DEFINITIONS: /config/paper-patch-set.json
Expand All @@ -99,7 +98,7 @@ services:
- 25565
environment:
TYPE: PAPER
VERSION: "1.20.4"
VERSION: "1.20.6"
EULA: true # By using this environment variable, you are indicating your acceptance of the Minecraft EULA
ONLINE_MODE: false
PATCH_DEFINITIONS: /config/paper-patch-set.json
Expand Down
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ driver-postgresql = "org.postgresql:postgresql:42.7.2"
kotest = "io.kotest:kotest-runner-junit5-jvm:5.8.0"
kotlinx-serialization = "org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.3"
luckperms = "net.luckperms:api:5.4"
paper = "io.papermc.paper:paper-api:1.20.4-brigadier-SNAPSHOT"
paper = "io.papermc.paper:paper-api:1.20.6-R0.1-SNAPSHOT"
velocity = "com.velocitypowered:velocity-api:3.3.0-SNAPSHOT"

[plugins]
Expand All @@ -22,5 +22,5 @@ kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
ktlint = "org.jlleitschuh.gradle.ktlint:11.6.1"
pluginyml = "net.minecrell.plugin-yml.paper:0.6.0"
shadow = "com.github.johnrengelman.shadow:8.1.1"
shadow = "io.github.goooler.shadow:8.1.7"
sponge = "org.spongepowered.gradle.plugin:2.2.0"

0 comments on commit a8e9fd3

Please sign in to comment.