title: Error:(24, 0) Could not find method annotationProcessor() for arguments [com.google.dagger:dagger-compiler:2.10]
body: <p>I try to build a module:api on Android Studio 3, gradle 4.1, Android Studio plugin 3.0.0, using Dagger 2</p>
  
  <p>So my build.gradle is:</p>
  
  <pre><code>apply plugin: 'java-library'
  
  repositories {
      jcenter()
      google()
  }
  
  dependencies {
      implementation fileTree(include: ['*.jar'], dir: 'libs')
      implementation project(':api_shared')
  
      // Guava
      implementation group: 'com.google.guava', name: 'guava', version: '23.0'
  
      // Dagger 2
      compile 'com.google.dagger:dagger:2.10'
      annotationProcessor 'com.google.dagger:dagger-compiler:2.10'
  }
  
  sourceCompatibility = JavaVersion.VERSION_1_8
  targetCompatibility = JavaVersion.VERSION_1_8
  </code></pre>
  
  <p>And I get the following error.</p>
  
  <pre><code>Error:(24, 0) Could not find method annotationProcessor() for arguments [com.google.dagger:dagger-compiler:2.10] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
  &lt;a href="openFile:D:\Users\me\Workspace\Sample3\api\build.gradle"&gt;Open File&lt;/a&gt;
  </code></pre>
  
  <p>I saw similar errors for guys using old plugin version but here, I don't understand why I get this error.
  Any idea?</p>