Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
installation [2014/08/19 19:39]
poslavskysv
installation [2015/11/21 12:36] (current)
poslavskysv [Running Redberry in console script]
Line 20: Line 20:
   - Press finish and IntelliJ will create a new project. Then create a new Groovy script:​{{::​ideanewgroovyscript.png?​500|}}   - Press finish and IntelliJ will create a new project. Then create a new Groovy script:​{{::​ideanewgroovyscript.png?​500|}}
   - Add the following lines in the newly created file:<​sxh groovy; gutter: false>   - Add the following lines in the newly created file:<​sxh groovy; gutter: false>
-@Grab(group = '​cc.redberry',​ module = '​groovy',​ version = '1.1.6')+@Grab(group = '​cc.redberry',​ module = '​groovy',​ version = '1.1.8')
 import cc.redberry.groovy.Redberry import cc.redberry.groovy.Redberry
 </​sxh>​ </​sxh>​
Line 38: Line 38:
 You can run Redberry script directly in console. For this wrap your Redberry code like in the following example: You can run Redberry script directly in console. For this wrap your Redberry code like in the following example:
 <sxh groovy; gutter: false> <sxh groovy; gutter: false>
-@Grab(group = '​cc.redberry',​ module = '​groovy',​ version = '1.1.6')+@Grab(group = '​cc.redberry',​ module = '​groovy',​ version = '1.1.9')
 import cc.redberry.groovy.Redberry import cc.redberry.groovy.Redberry
 import static cc.redberry.groovy.RedberryPhysics.* import static cc.redberry.groovy.RedberryPhysics.*
Line 76: Line 76:
 </​sxh>​ </​sxh>​
 This will produce same file as one can download from Downloads page in ''​target/''​ directory. This will produce same file as one can download from Downloads page in ''​target/''​ directory.
 +