title: how to create executable jar file with cucumber tests?
body: <p>My service create an executable jar by gradle. When i create and run my jar (java -jar file.jar) i recive error:</p>
  
  <pre><code>no main manifest attribute, in "file.jar"
  </code></pre>
  
  <p>because i don't have main_class.</p>
  
  <p>I created main method:</p>
  
  <pre><code>public static void main(final String[] args) throws Throwable {
  String[] arguments = {"--plugin", "html:build/reports/cucumber", "src/test/resources/features", "--glue", "src/test/java/steps"};
  cucumber.api.cli.Main.main(arguments);
  </code></pre>
  
  <p>}</p>
  
  <p>and My program founds the features but doesn't found glue code.</p>
  
  <p>Could someone help me with this problem? Thank you in advance.</p>