{"id":25722410,"url":"https://github.com/exlll/jarloader","last_synced_at":"2025-08-24T14:07:00.692Z","repository":{"id":279319014,"uuid":"149034313","full_name":"Exlll/JarLoader","owner":"Exlll","description":"Library for loading jar dependencies at runtime","archived":false,"fork":false,"pushed_at":"2019-01-01T09:15:52.000Z","size":58,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-07T00:32:45.919Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/Exlll.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-16T20:44:48.000Z","updated_at":"2025-04-21T22:32:34.000Z","dependencies_parsed_at":"2025-02-25T00:32:09.271Z","dependency_job_id":null,"html_url":"https://github.com/Exlll/JarLoader","commit_stats":null,"previous_names":["exlll/jarloader"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Exlll/JarLoader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exlll%2FJarLoader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exlll%2FJarLoader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exlll%2FJarLoader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exlll%2FJarLoader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Exlll","download_url":"https://codeload.github.com/Exlll/JarLoader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exlll%2FJarLoader/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266884666,"owners_count":24000755,"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","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"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":[],"created_at":"2025-02-25T19:34:32.629Z","updated_at":"2025-07-24T18:04:32.269Z","avatar_url":"https://github.com/Exlll.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Usage\n#### 1. Define a dependency\n```java\nJarDependency dependency = new JarDependency(\n        \"http://repo.exlll.de/configlib-core-2.2.0.jar\",\n        Paths.get(\"dependency.jar\")\n).addDigest(\"MD5\", \"4f8245a58ac12c735d0b1f9ca42a0abe\")\n .addDigest(\"SHA-256\", \"6b598e77d1671...111373f9bcd10d\");\n```\n\n#### 2. Download the jar\n\n```java\nJarLoader.download(dependency);\n// or\nJarLoader.downloadIfNotExists(dependency);\n```\n\n#### 3. Load the jar\n\nIf the downloaded file is a Bukkit plugin, you can load it using:\n```java\nBukkit.getPluginManager().loadPlugin(...)\n```\n\nIf the file is a library and not a Bukkit plugin, use the\n`ClassLoader` of your own plugin:\n\n```java\nURLClassLoader loader = (URLClassLoader) plugin.getClassLoader();\nJarLoader.load(dependency, loader);\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexlll%2Fjarloader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexlll%2Fjarloader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexlll%2Fjarloader/lists"}