{"id":26988973,"url":"https://github.com/nycodeghg/gradle-spigot-dependency-loader","last_synced_at":"2026-04-17T06:33:25.527Z","repository":{"id":44702427,"uuid":"376378990","full_name":"NyCodeGHG/gradle-spigot-dependency-loader","owner":"NyCodeGHG","description":"Gradle Plugin for adding your dependencies to your plugin.yml during build process.","archived":false,"fork":false,"pushed_at":"2022-01-30T10:35:14.000Z","size":140,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-25T16:37:33.490Z","etag":null,"topics":["gradle-plugin","hacktoberfest","kotlin","minecraft","papermc","spigot"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NyCodeGHG.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-06-12T20:32:45.000Z","updated_at":"2024-05-30T16:02:52.000Z","dependencies_parsed_at":"2022-09-04T09:51:37.766Z","dependency_job_id":null,"html_url":"https://github.com/NyCodeGHG/gradle-spigot-dependency-loader","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/NyCodeGHG/gradle-spigot-dependency-loader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NyCodeGHG%2Fgradle-spigot-dependency-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NyCodeGHG%2Fgradle-spigot-dependency-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NyCodeGHG%2Fgradle-spigot-dependency-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NyCodeGHG%2Fgradle-spigot-dependency-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NyCodeGHG","download_url":"https://codeload.github.com/NyCodeGHG/gradle-spigot-dependency-loader/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NyCodeGHG%2Fgradle-spigot-dependency-loader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31918572,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-plugin","hacktoberfest","kotlin","minecraft","papermc","spigot"],"created_at":"2025-04-03T20:33:20.945Z","updated_at":"2026-04-17T06:33:25.495Z","avatar_url":"https://github.com/NyCodeGHG.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gradle Spigot Dependency Loader\n\n[![Gradle Plugin Portal](https://img.shields.io/gradle-plugin-portal/v/de.nycode.spigot-dependency-loader?logo=gradle\u0026style=flat-square)](https://plugins.gradle.org/plugin/de.nycode.spigot-dependency-loader) [![GitHub Release](https://img.shields.io/github/release/NyCodeGHG/gradle-spigot-dependency-loader.svg?logo=github\u0026style=flat-square)](https://github.com/NyCodeGHG/gradle-spigot-dependency-loader/releases)\n\nA simple Gradle plugin, to use the new MC 1.16.5+ runtime dependency loader to load your dependencies at runtime\n\n## How to use\n\n- Add the plugin\n\n\u003cdetails open\u003e\n  \u003csummary\u003eKotlin DSL\u003c/summary\u003e\n\n```kotlin\nplugins {\n    id(\"de.nycode.spigot-dependency-loader\") version \"1.1.2\"\n}\n\ndependencies {\n    // the plugin adds a spigot dependency configuration, which will automatically add\n    // all it's dependencies to the plugin.yml\n    // compileOnly will automatically inherit from spigot so all spigot dependencies are visible to the compiler and\n    // your IDE\n    // Also only mavenCentral() dependencies should be added here\n    spigot(\"com.squareup.okhttp3\", \"okhttp\", \"4.9.0\")\n}\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eGroovy DSL\u003c/summary\u003e\n\n```groovy\nplugins {\n    id \"de.nycode.spigot-dependency-loader\" version \"1.1.2\"\n}\n\ndependencies {\n    // the plugin adds a spigot dependency configuration, which will automatically add\n    // all it's dependencies to the plugin.yml\n    // compileOnly will automatically inherit from spigot so all spigot dependencies are visible to the compiler and\n    // your IDE\n    // Also only mavenCentral() dependencies should be added here\n    spigot \"com.squareup.okhttp3\", \"okhttp\", \"4.9.0\"\n}\n```\n\n\u003c/details\u003e\n\n- Call the `exportDependenciesToPluginYml` Task when building\n\n## Features\n\n- Load your Spigot dependencies at runtime\n\n# The exportDependenciesToPluginYml task\n\nBy default, the `exportDependenciesToPluginYml` task gets created which sources the plugin.yml from\nthe `processResources` output, or the main resources source set and exports it directly into the build output to not\ninterfere with any YAML guidelines your project might have and poison your source with generated code. If you want to\ndisable the default task you can create your own like this. The tasks get automatically added as a dependency\non `classes` and depends on `processResources`\n\n```kotlin\nspigotDependencyLoader {\n    createDefaultTask.set(false) // this defaults to true\n}\n\ntasks {\n    task\u003cExportPluginDependenciesTask\u003e(\"exportDependenciesToPluginYml\") {\n        pluginYml.set(Path(\"\u003cpath to plugin.yml\u003e\"))\n        outputDirectory.set(\"\u003cpath to output dir\u003e\") //file name is as specified above\n\n        // Dependency configurations to export\n        configurations.add(configurations.spigot) // default configuration\n\n        // Extra dependencies not in the configs\n        dependency(\"extra:dependency:1.0.0\")\n\n        // Charset to encode plugin.yml\n        fileCharset.set(Charsets.UTF_8) // default\n    }\n}\n```\n\n## Contributing\n\nFeel free to open an issue or submit a pull request for any bugs/improvements.\n\n## License\n\nThis Gradle Plugin is licensed under the MIT License - see the [License](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnycodeghg%2Fgradle-spigot-dependency-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnycodeghg%2Fgradle-spigot-dependency-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnycodeghg%2Fgradle-spigot-dependency-loader/lists"}