gradle-update-notifier
creates a GitHub issue with result of Gradle Versions Plugin.
$ go get github.com/y-yagi/gradle-update-notifier
gradle-update-notifier -u <GitHub user name> -r <GitHub repository> -f <Generated file in Gradle Vesions Plugin(JSON format)> --github_access_token <GitHub access token>
Examples of the generated issue is here.
In addition to the local file, you can also specify the artifact of CircleCI.
Search for artifcat from the specified github user name and github repository. Instead of the file, you must specify the CircleCI API token.
gradle-update-notifier -u <GitHub user name> -r <GitHub repository> --github_access_token <GitHub access token> --circleci_api_token <CircleCI API token>
In addition, GitHub access token and CircleCI API token can specify in the environment variable. For details, refer to help.
gradle-update-notifier
works in Heroku. By using in conjunction with, Heroku Scheduler it is possible to run on a regular basis.
Heroku Scheduler supports 10 minutes, every hour, or every day only. If you want to run only once week, you can specify the day of the week to run in weekday
option.
gradle-update-notifier -u <GitHub user name> -r <GitHub repository> --weekday Monday