Support declarative plugin syntax
Add plugin to Gradle's plugin repository, so it can be added to the project declaratively like this:
plugins {
id 'de.mobilej.unmock' version '0.7.3'
}
This allows the plugin to be used with kotlin gradle scripts (kts).
Thanks for the suggestion - do you have any link on documentation on how to add to the Gradle plugin repository?
In the meantime it should be possible to use the plugin in kts like this:
apply<de.mobilej.unmock.UnMockPlugin>() after the plugins code block
I think this is the proper link: https://guides.gradle.org/publishing-plugins-to-gradle-plugin-portal/
thanks for the link - seems it's what I was looking for
Is there update on this please? If not, then is there anything I can do to help with it? :)
Funnily enough, we have gone full circle and this syntax is now obsolete, with Gradle recommending use of convention plugins to configure projects (which use old module syntax).
So, from my side, I do not need this anymore, but I can keep the issue open if the rest want it.