{"id":14969604,"url":"https://github.com/papermc/paperweight-test-plugin","last_synced_at":"2025-10-04T09:09:23.961Z","repository":{"id":38821135,"uuid":"384117563","full_name":"PaperMC/paperweight-test-plugin","owner":"PaperMC","description":"test plugin for paperweight-userdev","archived":false,"fork":false,"pushed_at":"2025-01-15T20:14:33.000Z","size":469,"stargazers_count":110,"open_issues_count":1,"forks_count":35,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-04-19T08:28:45.824Z","etag":null,"topics":["gradle","java","kotlin","minecraft","minecraft-plugin","minecraft-server","papermc","paperweight"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PaperMC.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"PaperMC","open_collective":"PaperMC"}},"created_at":"2021-07-08T12:30:19.000Z","updated_at":"2025-04-09T01:18:53.000Z","dependencies_parsed_at":"2023-02-16T20:46:27.143Z","dependency_job_id":"53995843-80e8-41c6-88cc-b6946f1f26e5","html_url":"https://github.com/PaperMC/paperweight-test-plugin","commit_stats":{"total_commits":94,"total_committers":5,"mean_commits":18.8,"dds":0.04255319148936165,"last_synced_commit":"4b4fb7924053b732cee6a1d12f80cb0452d965f4"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PaperMC%2Fpaperweight-test-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PaperMC%2Fpaperweight-test-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PaperMC%2Fpaperweight-test-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PaperMC%2Fpaperweight-test-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PaperMC","download_url":"https://codeload.github.com/PaperMC/paperweight-test-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249795202,"owners_count":21326777,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gradle","java","kotlin","minecraft","minecraft-plugin","minecraft-server","papermc","paperweight"],"created_at":"2024-09-24T13:42:06.438Z","updated_at":"2025-10-04T09:09:18.917Z","avatar_url":"https://github.com/PaperMC.png","language":"Java","readme":"# paperweight-test-plugin\n\njmp's test plugin for [`paperweight-userdev`](https://github.com/PaperMC/paperweight/tree/main/paperweight-userdev) development\n\n(also serves as an example until more thorough documentation is created)\n\n### notes (read these)\n\n- `build.gradle.kts` and `settings.gradle.kts` both contain important configuration.\n- `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`.\n- 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.\n- Due to a [gradle bug](https://github.com/gradle/gradle/issues/17559), 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`](https://github.com/jpenilla/reflection-remapper) and the [`source-remap`](https://github.com/PaperMC/paperweight-test-plugin/tree/source-remap) branch on this repo for examples of this.\n- The [`source-remap`](https://github.com/PaperMC/paperweight-test-plugin/tree/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 only remap your code, not update it from a prior version. Meaning you must be using the dev bundle for the Minecraft version your source code is for when remapping.\n- `paperweight-userdev` doesn't provide any utilities for doing reflection. [`reflection-remapper`](https://github.com/jpenilla/reflection-remapper) is a companion library to `paperweight-userdev` assisting with reflection on remapped code.\n","funding_links":["https://github.com/sponsors/PaperMC","https://opencollective.com/PaperMC"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpapermc%2Fpaperweight-test-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpapermc%2Fpaperweight-test-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpapermc%2Fpaperweight-test-plugin/lists"}