{"id":22359238,"url":"https://github.com/neworld/gradle-jdeploy-plugin","last_synced_at":"2026-05-04T03:35:30.983Z","repository":{"id":146661251,"uuid":"112108371","full_name":"neworld/gradle-jdeploy-plugin","owner":"neworld","description":"Plugin for publishing JVM software through NPM. ","archived":false,"fork":false,"pushed_at":"2019-05-24T22:04:26.000Z","size":96,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-01T11:12:20.909Z","etag":null,"topics":["gradle-plugin","jdeploy","npmjs","publishing"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/neworld.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","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":"2017-11-26T18:58:56.000Z","updated_at":"2022-10-03T16:34:44.000Z","dependencies_parsed_at":"2023-04-14T16:18:22.231Z","dependency_job_id":null,"html_url":"https://github.com/neworld/gradle-jdeploy-plugin","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/neworld/gradle-jdeploy-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neworld%2Fgradle-jdeploy-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neworld%2Fgradle-jdeploy-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neworld%2Fgradle-jdeploy-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neworld%2Fgradle-jdeploy-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neworld","download_url":"https://codeload.github.com/neworld/gradle-jdeploy-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neworld%2Fgradle-jdeploy-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32593945,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"online","status_checked_at":"2026-05-04T02:00:06.625Z","response_time":58,"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","jdeploy","npmjs","publishing"],"created_at":"2024-12-04T15:20:13.455Z","updated_at":"2026-05-04T03:35:30.979Z","avatar_url":"https://github.com/neworld.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![GitHub (pre-)release](https://img.shields.io/github/release/neworld/gradle-jdeploy-plugin/all.svg)](https://github.com/neworld/gradle-jdeploy-plugin)\n[![Travis-ci](https://travis-ci.org/neworld/gradle-jdeploy-plugin.svg?branch=master)](https://travis-ci.org/neworld/gradle-jdeploy-plugin)\n\n\nThis Gradle plugin is a wrapper for [jDeploy](https://github.com/shannah/jdeploy). \nIt helps publish software written in java, kotlin and other JVM languages through [NPM](https://www.npmjs.com/).\nThis plugin works out of the box using standard java plugins or [Shadow](https://github.com/johnrengelman/shadow).\n`shadowJar` archive location takes precedence over `jar` task.\n\n### Setup\n \n```groovy\nbuildscript {\n  repositories {\n    maven {\n      url \"https://plugins.gradle.org/m2/\"\n    }\n  }\n  dependencies {\n    classpath \"lt.neworld.gradle:gradle-jdeploy-plugin:0.6.0\"\n  }\n}\n\napply plugin: \"lt.neworld.jdeploy\"\n```\n\nor\n\n```groovy\nplugins {\n  id \"lt.neworld.jdeploy\" version \"0.6.0\"\n}\n```\n\nif you are using [gradle-node-plugin](https://github.com/srs/gradle-node-plugin), you must apply this plugin after it.\n\n### Config\n\n```groovy\njdeploy {\n    name = \"hello-world\"\n    binName = \"foo\" // optional. You could override executable name if you wish. Otherwise uses name\n    author = \"neworldLT\"\n    description = \"Hello world app for testing purposes\"\n    license = \"MIT\"\n    repository = \"https://github.com/neworld/gradle-jdeploy-plugin\"\n    \n    options {\n        toolVersion = \"1.0.21\" // optional\n        allowGlobalInstall = false // optional; explicit enable global install of jdeploy\n    }\n}\n```\n\nSometimes you want use custom jar packaging task than provided with java plugin.\nSo, you can set jar custom jar path:\n```groovy\njdeploy {\n    jar = file(\"$buildDir/libs/$name-$version-all.jar\")\n}\n```\n\n### Compatibility with [gradle-node-plugin](https://github.com/srs/gradle-node-plugin)\n\nActually, this plugin depends on [gradle-node-plugin](https://github.com/srs/gradle-node-plugin).\nI do my best to make sure this plugin plays nicely.\nIf you are using that node plugin, and you are disabled `download` (which is default behavior), then `jdeploy` needs to be install globally.\nHowever, this could cause undesired outcome.\nYou should consider use node in the project scope or explicit allow install globally using `allowGlobalInstall` flag.\n\n### Run\n```\n./gradlew jdeployInstall           #install locally\n./gradlew jdeployPublish           #publish to NPM\n```\n\n### Contribute\n\nYou could easily run all samples to make sure everything is working:\n```\ncd samples\n./gradle smokeTest\n```\n\nIf you are introducing new functionality, please make sample for it.\n\n### License\n\n```\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneworld%2Fgradle-jdeploy-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneworld%2Fgradle-jdeploy-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneworld%2Fgradle-jdeploy-plugin/lists"}