This message was deleted.
# community-support
s
This message was deleted.
a
This depends on how you’re testing. Are testing using Gradle TestKit, or
org.gradle.testfixtures.ProjectBuilder
?
There are two ways of applying plugins. Either by a plugin ID, and the plugins DSL, (which is what
plugins.register("...")
helps with), or by applying the class directly (the ‘legacy’ method). So, as long as
PluginIWantToTest
is available, you can apply it via the class.
m
Ah I can do
apply<MyPluginClass>
in the test build script - perfect, thanks!
🚀 1
👍 1