在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):stabib/gradle-git-repo-plugin开源软件地址(OpenSource Url):https://github.com/stabib/gradle-git-repo-plugin开源编程语言(OpenSource Language):开源软件介绍(OpenSource Introduction):The Gradle Git Repo PluginThis plugin allows you to add a git repository as a maven repo, even if the git repository is private, similar to how CocoaPods works. Using a github repo as a maven repo is a quick and easy way to host maven jars. Private maven repos however, aren't easily accessible via the standard maven http interface, or at least I haven't figured out how to get the authentication right. This plugin simply clones the repo behind the scenes and uses it as a local repo, so if you have permissions to clone the repo you can access it. This plugin lets you tie access to your repository to github accounts, seamlessly. This is most useful if you've already set up to manage distribution this way. Deliver CocoaPods and Maven artifacts with the same system, then sit back and relax. BuildingRun UsageThis plugin needs to be added via the standard plugin mechanism with this buildscript in your top level project
and then apply the plugin
Depending on github reposThis plug adds a
Add this alongside other repositories and you're good to go Publishing to github reposPublishing is a bit less seamless, mostly because there isn't one single way to
handle publishing in gradle (also the maven-publish plugin is infuratingly
tamper-proof). You're expected to have a task called
You can also run
to stage a release in the local github repo and commit it manually. The
A version of this with the
FlagsThe following flags are supported
FuturesIt would be nice to make publishing seamless, without the flags, and completely
hide the locally cloned repo. That might require reimplementing maven
publishing though. The CreditsDouglas Rapp LicenseThe gradle git repo plugin is available under the Apache 2 License. See the LICENSE file for more info. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论