Bump to 1.0.11 and align Paper/Java toolchain for releases.
Co-authored-by: Cursor <cursoragent@cursor.com>
@@ -67,7 +67,7 @@ bump:version:
67
67
68
68
build:jar:
69
69
stage: build
70
image: gradle:jdk21
70
image: gradle:jdk25
71
71
needs:
72
72
- job: bump:version
73
73
artifacts: true
@@ -67,7 +67,7 @@ bump:version:67
67
68
build:jar:68
build:jar:69
stage: build69
stage: build70
image: gradle:jdk2170
image: gradle:jdk2571
needs:71
needs:72
- job: bump:version72
- job: bump:version73
artifacts: true73
artifacts: true@@ -1,4 +1,4 @@
1
# ChestPreview 1.0.10
1
# ChestPreview 1.0.11
2
2
3
3
Paper 26.2 plugin that renders container previews as client-only ItemDisplay packets.
4
4
@@ -1,4 +1,4 @@1
# ChestPreview 1.0.101
# ChestPreview 1.0.112
2
3
Paper 26.2 plugin that renders container previews as client-only ItemDisplay packets.3
Paper 26.2 plugin that renders container previews as client-only ItemDisplay packets.4
4
@@ -4,7 +4,7 @@ plugins {
4
4
}
5
5
6
6
group = "nl.timfalken"
7
version = "1.0.10"
7
version = "1.0.11"
8
8
9
9
repositories {
10
10
mavenCentral()
@@ -14,14 +14,14 @@ repositories {
14
14
}
15
15
16
16
dependencies {
17
compileOnly("io.papermc.paper:paper-api:26.2-R0.1-SNAPSHOT")
17
compileOnly("io.papermc.paper:paper-api:26.2.build.+")
18
18
19
19
// Bundled into ChestPreview by shadowJar.
20
20
implementation("com.github.retrooper:packetevents-spigot:2.13.0")
21
21
}
22
22
23
23
java {
24
toolchain.languageVersion.set(JavaLanguageVersion.of(21))
24
toolchain.languageVersion.set(JavaLanguageVersion.of(25))
25
25
}
26
26
27
27
tasks.jar {
@@ -4,7 +4,7 @@ plugins {4
}4
}5
5
6
group = "nl.timfalken"6
group = "nl.timfalken"7
version = "1.0.10"7
version = "1.0.11"8
8
9
repositories {9
repositories {10
mavenCentral()10
mavenCentral()@@ -14,14 +14,14 @@ repositories {14
}14
}15
15
16
dependencies {16
dependencies {17
compileOnly("io.papermc.paper:paper-api:26.2-R0.1-SNAPSHOT")17
compileOnly("io.papermc.paper:paper-api:26.2.build.+")18
18
19
// Bundled into ChestPreview by shadowJar.19
// Bundled into ChestPreview by shadowJar.20
implementation("com.github.retrooper:packetevents-spigot:2.13.0")20
implementation("com.github.retrooper:packetevents-spigot:2.13.0")21
}21
}22
22
23
java {23
java {24
toolchain.languageVersion.set(JavaLanguageVersion.of(21))24
toolchain.languageVersion.set(JavaLanguageVersion.of(25))25
}25
}26
26
27
tasks.jar {27
tasks.jar {@@ -1,10 +1,10 @@
1
# ChestPreview 1.0.10
1
# ChestPreview 1.0.11
2
2
3
3
Paper 26.2 plugin that renders container previews as client-only ItemDisplay packets.
4
4
5
5
## PacketEvents is bundled
6
6
7
ChestPreview 1.0.10 shades PacketEvents 2.13.0 into the release JAR. A separate PacketEvents plugin is not required.
7
ChestPreview 1.0.11 shades PacketEvents 2.13.0 into the release JAR. A separate PacketEvents plugin is not required.
8
8
9
9
The build follows PacketEvents' bundling guidance and relocates the bundled libraries into ChestPreview's private namespace:
10
10
@@ -35,7 +35,7 @@ or your CI's existing `shadowJar` task.
35
35
The output is:
36
36
37
37
```text
38
build/libs/ChestPreview-1.0.10.jar
38
build/libs/ChestPreview-1.0.11.jar
39
39
```
40
40
41
41
Do not use `minimize()` for this build; PacketEvents warns that minimization can cause classloading issues.
@@ -1,10 +1,10 @@1
# ChestPreview 1.0.101
# ChestPreview 1.0.112
2
3
Paper 26.2 plugin that renders container previews as client-only ItemDisplay packets.3
Paper 26.2 plugin that renders container previews as client-only ItemDisplay packets.4
4
5
## PacketEvents is bundled5
## PacketEvents is bundled6
6
7
ChestPreview 1.0.10 shades PacketEvents 2.13.0 into the release JAR. A separate PacketEvents plugin is not required.7
ChestPreview 1.0.11 shades PacketEvents 2.13.0 into the release JAR. A separate PacketEvents plugin is not required.8
8
9
The build follows PacketEvents' bundling guidance and relocates the bundled libraries into ChestPreview's private namespace:9
The build follows PacketEvents' bundling guidance and relocates the bundled libraries into ChestPreview's private namespace:10
10
@@ -35,7 +35,7 @@ or your CI's existing `shadowJar` task.35
The output is:35
The output is:36
36
37
```text37
```text38
build/libs/ChestPreview-1.0.10.jar38
build/libs/ChestPreview-1.0.11.jar39
```39
```40
40
41
Do not use `minimize()` for this build; PacketEvents warns that minimization can cause classloading issues.41
Do not use `minimize()` for this build; PacketEvents warns that minimization can cause classloading issues.@@ -40,7 +40,7 @@ public final class ChestPreviewPlugin extends JavaPlugin {
40
40
if (getConfig().getBoolean("updates.scan-loaded-chunks-on-startup", true)) {
41
41
Bukkit.getScheduler().runTask(this, manager::enqueueLoadedChunks);
42
42
}
43
getLogger().info("ChestPreview 1.0.10 enabled (client-only packet previews; embedded PacketEvents 2.13.0).");
43
getLogger().info("ChestPreview 1.0.11 enabled (client-only packet previews; embedded PacketEvents 2.13.0).");
44
44
}
45
45
46
46
@Override
@@ -40,7 +40,7 @@ public final class ChestPreviewPlugin extends JavaPlugin {40
if (getConfig().getBoolean("updates.scan-loaded-chunks-on-startup", true)) {40
if (getConfig().getBoolean("updates.scan-loaded-chunks-on-startup", true)) {41
Bukkit.getScheduler().runTask(this, manager::enqueueLoadedChunks);41
Bukkit.getScheduler().runTask(this, manager::enqueueLoadedChunks);42
}42
}43
getLogger().info("ChestPreview 1.0.10 enabled (client-only packet previews; embedded PacketEvents 2.13.0).");43
getLogger().info("ChestPreview 1.0.11 enabled (client-only packet previews; embedded PacketEvents 2.13.0).");44
}44
}45
45
46
@Override46
@Override@@ -1,5 +1,5 @@
1
1
name: ChestPreview
2
version: '1.0.10'
2
version: '1.0.11'
3
3
main: nl.timfalken.chestpreview.ChestPreviewPlugin
4
4
api-version: '26.2'
5
5
author: Tim Falken
@@ -1,5 +1,5 @@1
name: ChestPreview1
name: ChestPreview2
version: '1.0.10'2
version: '1.0.11'3
main: nl.timfalken.chestpreview.ChestPreviewPlugin3
main: nl.timfalken.chestpreview.ChestPreviewPlugin4
api-version: '26.2'4
api-version: '26.2'5
author: Tim Falken5
author: Tim Falken