Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 8th, 2012  |  syntax: None  |  size: 0.38 KB  |  hits: 29  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Running JBehave from gradle?
  2. task spec << {
  3.     ant.taskdef(
  4.             name: 'jbehave',
  5.             classname: 'org.jbehave.ant.RunStoriesAsEmbeddables',
  6.             classpath: configurations.jbehave.asPath)
  7.  
  8.     ant.jbehave(
  9.             includes: 'src/main/specs',
  10.             generateViewAfterStories: true
  11.     )
  12. }
  13.        
  14. configurations { jbehave }
  15. dependencies {
  16.     jbehave ...
  17. }