paperweight
paperweight copied to clipboard
Gradle build system plugin for Paper and Paper forks
Enabled shared caches by default, and adds a check for the setup lock to avoid an edge case issue when cleaning the shared caches.
Fixes #199 by modifying the classpath and adding the path to the already compiled classes as first entry. This way the compiler loads all the patched classes instead of the...
just opened to make reviewing the pending diff easier ```[tasklist] ### ToDo - [ ] restamp sometimes runs oom, maybe move it to a worker queue? (misisng in setupvanilla) -...
Seems like the issue got lost [here](https://github.com/PaperMC/paperweight-examples/issues/4). Too keep better track of it I'll open it here. **Request:** Add a possibility to declare AT's in forks of paper.
Build error: "Malformed input or input contains unmappable characters" on "generate mappings" task
I followed the instructions at https://docs.papermc.io/paper/dev/userdev, and got the following `build.gradle.kts` ```kotlin plugins { kotlin("jvm") version "1.9.0" id("io.papermc.paperweight.userdev") version "1.5.5" } group = "net.yukijoou" version = "1.0-SNAPSHOT" repositories { mavenCentral()...
Due to some nested classes in NMS are package-private it should be possible that `Class#forName` and `Class#getDeclaredField` are supported by the reobfJar task. Example: `Class.forName("net.minecraft.network.ConnectionProtocol$PacketSet").getDeclaredField("classToId")` should be reobfuscated to: `Class.forName("net.minecraft.network.EnumProtocol$a").getDeclaredField("b")`...
Currently, there is a single `reobf` outgoing configuration which is basically just the `reobfJar`. Instead, we should mirror the structure of the default outgoing configs added by the Java plugin...
This avoids excluding junit from the test classpath, even if explicitly added by a downstream user, which doesn't make sense, and allows people to add junit to the main classpath...