Open rgrigoryev opened 10 years ago
I try to use dagger on j2se (without android plugin), but unit test can not load my TestModule with error:
Module adapter for class MyTest$TestModule could not be loaded. Please ensure that code generation was run for this module.
Simple fix to It is to add apt to test sourceSet:
sourceSets { test { compileClasspath += configurations.apt } }
Could it become a part of gradle-apt-plugin?
I try to use dagger on j2se (without android plugin), but unit test can not load my TestModule with error:
Simple fix to It is to add apt to test sourceSet:
Could it become a part of gradle-apt-plugin?