title: Android annotationProcessor
body: <p>In my project app dependencies I have one library which requires annotationProcessor, but when I try to build the project I get this error:</p>
  
  <blockquote>
    <p>Error:(44, 0) Could not find method annotationProcessor() for arguments [...] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler</p>
  </blockquote>
  
  <p>The <strong>build.gradle</strong> is like:</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
     compileSdkVersion 24
     buildToolsVersion "24.0.2"
  
     defaultConfig {
        minSdkVersion 10
        targetSdkVersion 24
        ...
  
        jackOptions {
            enabled true
        }
     }
  
     compileOptions {
         sourceCompatibility JavaVersion.VERSION_1_8
         targetCompatibility JavaVersion.VERSION_1_8
     }
     ...
  
  }
  
  dependencies {
     Another dependencies ... 
  
     compile '...'
     annotationProcessor '...'
  }
  </code></pre>
  
  <p>Note that I am using jackOptions enabled and Java 8 version to this project.</p>
  
  <p>How to solve it?</p>