title: Which is the proper Gradle plugin to support 'provided' method?
body: <p>I'm currently trying to include Project Lombok helper into my Gradle project, but while following <a href="http://projectlombok.org/mavenrepo/index.html" rel="nofollow noreferrer">their instructions for Gradle</a> within my build.gradle, I'm getting the following error:</p>
  
  <p>Error:(11, 0) Build script error, unsupported Gradle DSL method found: 'provided()'!</p>
  
  <p>Possible causes could be:</p>
  
  <ul>
  <li>you are using Gradle version where the method is absent</li>
  <li>you didn't apply Gradle plugin which provides the method </li>
  <li>or there is a mistake in a build script </li>
  </ul>
  
  <p>My current build.gradle file:</p>
  
  <pre><code>apply plugin: 'java'
  
  sourceCompatibility = 1.5
  version = '1.0'
  
  repositories {
      mavenCentral()
  }
  
  dependencies {
      provided "org.projectlombok:lombok:1.14.4"
      testCompile group: 'junit', name: 'junit', version: '4.11'
  }
  </code></pre>