Compare commits

..
4 Commits
Author SHA1 Message Date
booky10 b7f99503d9 Release packetevents v2.9.1 2025-07-10 02:14:43 +02:00
booky10 52adfbae8a Fix "publishMods" task name breaking shadow jar exclusions
This should be fixed properly, this is just a quick fix to get out a proper release
2025-07-10 02:08:11 +02:00
booky10 a861066cab Don't copy artifacts to root build directory 2025-07-10 02:07:21 +02:00
retrooper 1acec02bfb PacketEvents 2.9.1 snapshot 2025-07-10 01:27:48 +02:00
5 changed files with 110 additions and 24 deletions

No files matched your search

+100
View File
@@ -1,3 +1,103 @@
!!!!! v2.9.1
# PacketEvents 2.9.1 is out now! 🎉
This is a hotfix patch update to fix issues with 2.9.0 release assets. See below for the 2.9.0 changelog.
### New update now supports Minecraft version 1.21.6 & 1.21.7. We suggest that you update, as numerous bugs have been fixed.
# Brief Announcement 📢⚠️
### We have our very own website: https://packetevents.com
### Documentation: https://docs.packetevents.com
### JavaDocs: https://javadocs.packetevents.com
## What's Changed? (Summary)
* Added 1.21.6 support
* Added 1.21.7 support
* Bug fixes
**View Full Changelog**: https://github.com/retrooper/packetevents/compare/v2.8.0...v2.9.1
## If you want to support PacketEvents, consider sponsoring us on [GitHub Sponsors](https://github.com/sponsors/retrooper)
## Maven/Gradle Dependency
### **Check out**: https://docs.packetevents.com/getting-started
!!!!! v2.9.0
# PacketEvents 2.9.0 is out now! 🎉
### New update now supports Minecraft version 1.21.6 & 1.21.7. We suggest that you update, as numerous bugs have been fixed.
# Brief Announcement 📢⚠️
### We have our very own website: https://packetevents.com
### Documentation: https://docs.packetevents.com
### JavaDocs: https://javadocs.packetevents.com
## What's Changed? (Summary)
* Added 1.21.6 support
* Added 1.21.7 support
* Bug fixes
**View Full Changelog**: https://github.com/retrooper/packetevents/compare/v2.8.0...v2.9.0
## If you want to support PacketEvents, consider sponsoring us on [GitHub Sponsors](https://github.com/sponsors/retrooper)
## Maven/Gradle Dependency
### **Check out**: https://docs.packetevents.com/getting-started
!!!!! v2.8.0
# PacketEvents 2.8.0 is out now! 🎉
### New update now supports Minecraft version 1.21.5. Please update, as numerous bugs have been fixed.
# Brief Announcement 📢⚠️
### We have our very own website: https://packetevents.com
### Documentation: https://docs.packetevents.com
### JavaDocs: https://javadocs.packetevents.com
## What's Changed? (Summary)
* Added 1.21.5 support
* Various bugs fixed
**View Full Changelog**: https://github.com/retrooper/packetevents/compare/v2.7.0...v2.8.0
## Contributors 🏅
This update wouldn't be possible without these contributors ❤️: @booky10, @Axionize, @Bram1903, @ManInMyVan, @ytnoos,
@AoElite, @HaHaWTH, @divinepablo, @scienziatopazzo, @bridgelol, @MachineBreaker, @Luuzzi, @Beaness, @Rubenicos, @Loyisa
## New Contributors
* @HaHaWTH made their first contribution in https://github.com/retrooper/packetevents/pull/1097
* @divinepablo made their first contribution in https://github.com/retrooper/packetevents/pull/1098
* @scienziatopazzo made their first contribution in https://github.com/retrooper/packetevents/pull/1105
* @bridgelol made their first contribution in https://github.com/retrooper/packetevents/pull/1199
* @Luuzzi made their first contribution in https://github.com/retrooper/packetevents/pull/1197
* @Beaness made their first contribution in https://github.com/retrooper/packetevents/pull/1212
* @Rubenicos made their first contribution in https://github.com/retrooper/packetevents/pull/1162
* @Loyisa made their first contribution in https://github.com/retrooper/packetevents/pull/1220
## If you want to support PacketEvents, consider sponsoring us on [GitHub Sponsors](https://github.com/sponsors/retrooper)
## Maven/Gradle Dependency
### **Check out**: https://docs.packetevents.com/getting-started
!!!!! v2.9.0
# PacketEvents 2.9.0 is out now! 🎉
-22
View File
@@ -26,30 +26,8 @@ tasks {
subprojects.filterNot { it.path == ":patch" }.map { it.tasks[task] }.toTypedArray()
}
register("build") {
dependsOn(*taskSubModules("build"))
group = "build"
doLast {
val buildOut = project.layout.buildDirectory.dir("libs").get().asFile
if (!buildOut.exists())
buildOut.mkdirs()
for (subproject in subprojects) {
if (subproject.path.startsWith(":patch")) continue
val subIn = subproject.layout.buildDirectory.dir("libs").get()
copy {
from(subIn)
into(buildOut)
}
}
}
}
register<Delete>("clean") {
dependsOn(*taskSubModules("clean"))
group = "build"
delete(rootProject.layout.buildDirectory)
}
@@ -14,6 +14,7 @@ tasks {
shadowJar {
configurations.add(compileShadowOnly)
destinationDirectory = rootProject.layout.buildDirectory.dir("libs")
archiveFileName = "packetevents-${project.name}-${rootProject.ext["versionNoHash"]}.jar"
archiveClassifier = null
@@ -72,8 +73,14 @@ tasks {
configurations.implementation.get().extendsFrom(configurations.shadow.get())
// TODO properly publish correct shadow references instead of this mess
gradle.taskGraph.whenReady {
if (gradle.startParameter.taskNames.any { it.contains("publish") }) {
if (gradle.startParameter.taskNames.any {
it.contains("publish") && !it.equals(
"publishMods",
ignoreCase = true
)
}) {
logger.info("Adding shadow configuration to shadowJar tasks in module ${project.name}.")
tasks.withType<ShadowJar> {
dependencies {
+1
View File
@@ -50,6 +50,7 @@ tasks {
}
remapJar {
destinationDirectory = rootProject.layout.buildDirectory.dir("libs")
archiveBaseName = "${rootProject.name}-${project.name}"
archiveVersion = rootProject.ext["versionNoHash"] as String
}
+1 -1
View File
@@ -1,7 +1,7 @@
org.gradle.jvmargs=-Xmx2000m
# TODO UPDATE
fullVersion=2.9.0
fullVersion=2.9.1
snapshot=false
publishing.display_name=PacketEvents