{"repo":"PaperMC/paperweight-test-plugin","free":true,"listed":false,"github":"https://github.com/PaperMC/paperweight-test-plugin","clone":"git clone https://github.com/PaperMC/paperweight-test-plugin.git","description":"test plugin for paperweight-userdev","language":"Java","stars":132,"topics":["papermc","paperweight","gradle","java","kotlin","minecraft-plugin","minecraft-server","minecraft"],"license":null,"category":"game-templates","readme_excerpt":"paperweight-test-plugin jmp's test plugin for paperweight-userdev development (also serves as an example until more thorough documentation is created) notes (read these) - build.gradle.kts and settings.gradle.kts both contain important configuration. - paperweight-userdev automatically detects shadow and will use shadowJar as input for reobfJar . This means no extra configuration is required to use paperweight-userdev with shadow. See the shadow branch on this repository for an example usage of shadow with paperweight-userdev . - The run-paper Gradle plugin is optional, it integrates with paperweight and allows for launching a test server with your plugin through the runServer and runMojangMappedServer tasks. - Due to a gradle bug, independently applying paperweight-userdev to multiple projects in a build can result in errors. To work around this, apply paperweight-userdev to the root project with apply false (i.e., id(\"...\") version \"...\" apply false in Kotlin DSL), and then when applying paperweight-userdev to subprojects don't include a version specification. A more advanced solution would involve adding paperweight-userdev as a dependency to your build logic, see reflection-remapper and the source-remap branch on this repo for examples of this. - The source-remap branch on this repo has a special remapPluginSources task to remap the source code in src/main/java from spigot to Mojang mappings, outputting remapped source in /src/main/mojangMappedJava . Note that this will o","default_branch":null,"files":null,"tree":[],"storefront":"/r/PaperMC","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/PaperMC/paperweight-test-plugin/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}