title: How to load build.gradle task via intelliJ IDE and debug
body: <p>My requirement is to load <code>Config.groovy</code> file when run cucumber tests in <code>IntellI IDE</code>. Because I am not able to load config data via <code>build.gradle</code> through <code>IntelliJ</code></p>
  
  <p>I stored all environment related data there in <code>config</code> file. Currently it is loading perfectly via <code>build.gradle</code> when I run test via command line. But only issue is debugging is not possible with command line.</p>
  
  <p><strong>Versions</strong></p>
  
  <pre><code>IntelliJ : 13.0.3
  
  ------------------------------------------------------------
  Gradle 1.9
  ------------------------------------------------------------
  
  Build time:   2013-11-19 08:20:02 UTC
  Build number: none
  Revision:     7970ec3503b4f5767ee1c1c69f8b4186c4763e3d
  
  Groovy:       1.8.6
  Ant:          Apache Ant(TM) version 1.9.2 compiled on July 8 2013
  Ivy:          2.2.0
  JVM:          1.7.0_45 (Oracle Corporation 24.45-b08)
  OS:           Windows 7 6.1 amd64
  </code></pre>
  
  <p>Is there any solution?</p>