Brais Gabin11/13/2023, 10:07 AM
I can see the tasks generated by kotlin and my plugin but I can't see any task generated by kapt. This makes that my tests pointless because want I want is to assert that the tasks that my plugin adds depends on the correct kapt tasks (for example, that
val project = ProjectBuilder.builder() .build() project.pluginManager.apply(KotlinPluginWrapper::class.java) project.pluginManager.apply(Kapt3GradleSubplugin::class.java) project.pluginManager.apply(LightsaberPlugin::class.java)
). I have some tests using
but those tests are way slower and I can't assert the dependencies I just can assert that "X" task was executed without knowing the reason. Is there a way to make this work with
? Any other idea to how to test this?
tapchicoma11/13/2023, 5:44 PM
and then make assertions?
Brais Gabin11/14/2023, 9:29 AM
but I only want it to works.
tapchicoma11/14/2023, 9:30 AM
to get the actual state
Brais Gabin11/14/2023, 9:41 AM