dagger2metrics icon indicating copy to clipboard operation
dagger2metrics copied to clipboard

Can't find Dagger2Metrics when building with gradle cli

Open MRezaNasirloo opened this issue 8 years ago • 1 comments

package com.frogermcs.dagger2metrics does not exist
import com.frogermcs.dagger2metrics.Dagger2Metrics;

: cannot find symbol
            Dagger2Metrics.enableCapturing(this);
            ^
  symbol:   variable Dagger2Metrics
  location: class AndroidApplication
2 errors
Incremental compilation of 1 classes completed in 0.071 secs.
:app:compileReleaseJavaWithJavac FAILED

MRezaNasirloo avatar Jun 13 '16 10:06 MRezaNasirloo

Adding the compile 'com.frogermcs.dagger2metrics:dagger2metrics-runtime:0.2.1' fixes the issue, however I have multiple build types. Is there any no-op implementation?

MRezaNasirloo avatar Jun 13 '16 10:06 MRezaNasirloo