https://github.com/gregwhitaker/github-pkgrepo-example
Example of using Github's Package Registry with Gradle
https://github.com/gregwhitaker/github-pkgrepo-example
github-package-registry gradle package-management
Last synced: 3 days ago
JSON representation
Example of using Github's Package Registry with Gradle
- Host: GitHub
- URL: https://github.com/gregwhitaker/github-pkgrepo-example
- Owner: gregwhitaker
- License: mit
- Created: 2019-11-03T15:04:39.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-04T02:29:46.000Z (over 6 years ago)
- Last Synced: 2025-08-24T23:32:50.227Z (8 months ago)
- Topics: github-package-registry, gradle, package-management
- Language: Java
- Homepage:
- Size: 74.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# github-pkgrepo-example
Test repo for experimenting with Github's new package repository.
## Prerequisites
This example requires that you modify the `gradle.properties` file in your home directory to include the following:
* `gpr.user` - Set this property to your github username.
* `gpr.key` - Set this property to a github api key.
For information on creating Github API keys please refer to the [Github Documentation](https://help.github.com/en/github/managing-packages-with-github-package-registry/configuring-gradle-for-use-with-github-package-registry#authenticating-to-github-package-registry).
## Running the Example
Execute the following command to build and publish the `hello-core` library:
./gradlew publish
## License
MIT License
Copyright (c) 2019 Greg Whitaker
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.