Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 2 additions & 15 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ plugins {
id("java")
id("xyz.jpenilla.run-paper") version "2.3.1"
id("net.minecrell.plugin-yml.bukkit") version "0.6.0"
id("io.papermc.paperweight.userdev") version "1.7.7"
id("io.papermc.paperweight.userdev") version "2.0.0-beta.18"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

Verify the stability of the beta plugin version.

The Paperweight Userdev plugin version 2.0.0-beta.18 is a beta release. Please verify that this version is stable and suitable for production use, or document any known issues.


🌐 Web query:

Is Paperweight Userdev 2.0.0-beta.18 stable for production use?

💡 Result:

Short answer: No — 2.0.0-beta.18 is a beta pre-release and not intended as a guaranteed production-stable release. Use a stable release (or thoroughly test the beta in your environment) and follow PaperMC guidance to prefer the latest supported non-beta release. [1][2][3]

Sources:

  • paperweight-userdev docs (shows plugin is maintained and advises using latest supported version). [1]
  • paperweight GitHub release for v2.0.0-beta.18 (release is labeled beta). [2]
  • open issue showing known incompatibilities/bugs (example: configuration-cache incompatibility). [3]

Use a stable Paperweight Userdev release
Paperweight Userdev 2.0.0-beta.18 is a pre-release and not guaranteed production-stable. Switch to the latest non-beta version or thoroughly test this beta in your environment and document any known issues.

🤖 Prompt for AI Agents
In build.gradle.kts around line 7 the plugin version is set to the pre-release
io.papermc.paperweight.userdev version "2.0.0-beta.18"; replace this with the
latest stable non-beta release (check the Paperweight/Userdev release notes or
Gradle Plugin Portal for the current stable version) or, if you must keep the
beta, add a clear comment above the line documenting that this is a beta, list
any known issues, and add a CI/job to run thorough integration tests validating
the build against your target Minecraft/Paper versions so the risk is tracked.

id("maven-publish")
id("com.modrinth.minotaur") version "2.+"
}

val minecraftVersion = "1.21.3"
val minecraftVersion = "1.21.10"
val pluginVersion: String = "1.15.1" + if (System.getenv("runnumber") != null) "." + System.getenv("runnumber") else ""

group = "com.github.atompilz-devteam"
Expand Down Expand Up @@ -62,19 +62,6 @@ modrinth {
}

publishing {
repositories {
maven {
name = "release"
url = uri("https://repo.jonasfranke.xyz/${findProperty("targetRepo") ?: "releases"}")
credentials {
username = System.getenv("REPOSILITE_USER")
password = System.getenv("REPOSILITE_PW")
}
authentication {
create<BasicAuthentication>("basic")
}
}
}
publications {
create<MavenPublication>("release") {
groupId = "com.github.atompilz-devteam"
Expand Down
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
jdk = pkgs.jdk21;
gradle = pkgs.gradle.override { java = jdk; };
gradle = pkgs.gradle_8.override { java = jdk; };
in
{

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/de/j/stationofdoom/util/ItemBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public static ItemStack createHead(String url, String name) {
SkullMeta headMeta = (SkullMeta) head.getItemMeta();
GameProfile profile = new GameProfile(UUID.randomUUID(), name);

profile.getProperties().put("textures", new Property("textures", url));
profile.properties().put("textures", new Property("textures", url));

try {
assert headMeta != null;
Expand All @@ -110,7 +110,7 @@ public ItemBuilder getHeadBuilder(String url, String name) {
meta = item.getItemMeta();
GameProfile profile = new GameProfile(UUID.randomUUID(), name);

profile.getProperties().put("textures", new Property("textures", url));
profile.properties().put("textures", new Property("textures", url));

try {
assert meta != null;
Expand Down