title: Dagger 2 component not generated
body: <p>In my module, in my base Application class </p>
  
  <pre><code>component = DaggerCompClassComponent.builder()
                  .classModule(new ModuleClass()).build();
  </code></pre>
  
  <p>it can not find DaggerCompClassComponent. </p>
  
  <p>I have on module build.gradle</p>
  
  <pre><code>apply plugin: 'com.neenbedankt.android-apt'
  .........................
  apt 'com.google.dagger:dagger-compiler:2.8'
  compile 'com.google.dagger:dagger:2.8'
  provided 'javax.annotation:jsr250-api:1.0'
  </code></pre>
  
  <p>and in Project build.gradle, </p>
  
  <pre><code> classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
  </code></pre>
  
  <p>I have done build / rebuild / clean / restart project. I have a Component class where I inject objects and a ModuleClass where I provide objects to inject.</p>
  
  <p>What can be the cause for not generating Dagger Component . class ?</p>
  
  <p>EDIT:</p>
  
  <p>This is my ModuleClass, adnotated with @Module:</p>
  
  <pre><code>@Provides
  @Singleton
  public Interceptor provideInterceptor() {
      return new Interceptor() {
          @Override
          public Response intercept(Chain chain) throws IOException {
              Request.Builder builder = chain.request().newBuilder();
  
              builder.addHeader("AppName-Android", BuildConfig.VERSION_NAME + "-" + BuildConfig.VERSION_CODE)
                      .addHeader("Content-Type", "application/json");
  
              return chain.proceed(builder.build());
          }
      };
  }
  
  @Provides
  @Singleton
  OkHttpClient provideOkHttpClient(Interceptor interceptor) {
      OkHttpClient.Builder builder = new OkHttpClient.Builder();
      builder.interceptors().add(interceptor);
      return builder.build();
  }
  
  @Provides
  @Singleton
  Retrofit provideRetrofit(OkHttpClient client) {
      return new Retrofit.Builder()
              .baseUrl(BaseApplication.getRes().getString(R.string.api_base_url))
              .addConverterFactory(GsonConverterFactory.create())
              .client(client)
              .build();
  }
  
  @Provides
  @Singleton
  WebServiceCall provideWebService(Retrofit retrofit) {
      return retrofit.create(WebServiceCall.class);
  }
  </code></pre>
  
  <p>And this is my Component Class:</p>
  
  <pre><code>@Component(modules = ModuleClass.class)
  @Singleton
  public interface ComponentClass {
  
      void inject(Interceptor o);
      void inject(OkHttpClient o);
      void inject(Retrofit o);
      void inject(WebServiceCall o);
  
  }
  </code></pre>