title: Gradle init failing to create a project
body: <p>This week I tried to give Gradle a go and everything worked fine in 2/3 machines I played with. When I try to create a new project by running either <code>gradle init</code> or <code>gradle init --type=java-library</code> I get the following error message:</p>
  
  <pre><code>Starting a new Gradle Daemon for this build (subsequent builds will be faster).
  :wrapper
  :init FAILED
  
  FAILURE: Build failed with an exception.
  
  * What went wrong:
  Execution failed for task ':init'.
  &gt; Null value provided for binding 'junitVersion'.
  
  * Try:
  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
  
  BUILD FAILED
  
  Total time: 4.809 secs
  </code></pre>
  
  <p>After that, my project tree is just this:</p>
  
  <pre><code>├── gradle
  │   └── wrapper
  │       ├── gradle-wrapper.jar
  │       └── gradle-wrapper.properties
  ├── gradlew
  ├── gradlew.bat
  └── settings.gradle
  </code></pre>
  
  <p>I'm getting this error with Gradle 2.12 on Fedora 24. The weird thing, though, is that every other Gradle's command is working fine with one project I have.</p>
  
  <p>Could anyone help me solve this problem, please?</p>