You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,19 @@ npm i -g gradle-upgrade-interactive
36
36
37
37
Simply run `gradle-upgrade-interactive`.
38
38
39
+
```
40
+
Options:
41
+
--help Show help [boolean]
42
+
--version Show version number [boolean]
43
+
--resolution, -r Controls the dependency resolution strategy.
44
+
Supported options:
45
+
* release: selects the latest release
46
+
* milestone: select the latest version being either a
47
+
milestone or a release (default)
48
+
* integration: selects the latest revision of the dependency
49
+
module (such as SNAPSHOT) [string]
50
+
```
51
+
39
52
## How it works
40
53
41
54
The [gradle-versions-plugin](https://github.com/ben-manes/gradle-versions-plugin) is called to generate a JSON report containing the outdated dependencies.
Copy file name to clipboardExpand all lines: index.js
+17-3Lines changed: 17 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,12 @@
1
1
#! /usr/bin/env node
2
+
varargv=require('yargs')
3
+
.option('resolution',{
4
+
alias: 'r',
5
+
describe: 'Controls the dependency resolution strategy.\nSupported options:\n* release: selects the latest release\n* milestone: select the latest version being either a milestone or a release (default)\n* integration: selects the latest revision of the dependency module (such as SNAPSHOT)',
0 commit comments