Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
bgColorlightyellow
titleExample
@GrabResolver(name='atlassian', root='https://maven.atlassian.com/content/groups/public/')
@Grab(group='org.swift.tools', module='gint', version='12.57.0')
import org.swift.tools.*
includeTool << Gint

gint.initialize(this) // required

gint.add(
    name: 'hello', 
    inline: { println 'Hello World' },
)
 
target(name: 'final', description: 'Run this last', prehook: [], posthook: []) {
    message 'info', 'Final code gets run here'
}
 
gint.finalizeTest() // final preparations for running tests

...