Skip to content

Commit

Permalink
update @grab to use jitpack
Browse files Browse the repository at this point in the history
  • Loading branch information
gschueler committed Jul 13, 2016
1 parent 3c0c66a commit 2944c22
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion toolbelt-groovy/src/example/groovy/test-class.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
* Example using a class annotated with toolbelt Command/Arg
*
*/
@Grab(group = 'com.simplifyops.toolbelt', module = 'toolbelt-groovy', version = '0.1.1-SNAPSHOT')
@GrabResolver(name='jitpack', root='https://jitpack.io')
@Grab('com.github.simplifyops.cli-toolbelt:toolbelt-groovy:-SNAPSHOT')
import static com.simplifyops.toolbelt.groovy.Toolbelt.toolbelt

import com.simplifyops.toolbelt.Command
Expand Down
3 changes: 2 additions & 1 deletion toolbelt-groovy/src/example/groovy/test-sub.groovy
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/**
* Example using groovy DSL for subcommand definition
*/
@Grab(group = 'com.simplifyops.toolbelt', module = 'toolbelt-groovy', version = '0.1.1-SNAPSHOT')
@GrabResolver(name='jitpack', root='https://jitpack.io')
@Grab('com.github.simplifyops.cli-toolbelt:toolbelt-groovy:-SNAPSHOT')
import static com.simplifyops.toolbelt.groovy.Toolbelt.toolbelt


Expand Down
3 changes: 2 additions & 1 deletion toolbelt-groovy/src/example/groovy/test.groovy
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/**
* Example using groovy DSL for command definition
*/
@Grab(group = 'com.simplifyops.toolbelt', module = 'toolbelt-groovy', version = '0.1.1-SNAPSHOT')
@GrabResolver(name='jitpack', root='https://jitpack.io')
@Grab('com.github.simplifyops.cli-toolbelt:toolbelt-groovy:-SNAPSHOT')
import static com.simplifyops.toolbelt.groovy.Toolbelt.toolbelt


Expand Down

0 comments on commit 2944c22

Please sign in to comment.