Plugin Development

HI All,

I am trying to build a plugin which can be used across the company by multiple microservices, i have lots of gradle files with multiple gradle dsl , say for example com.jfrog.artifactory plugin



Question is how do i rewrite this artifactory DSL in java plugin, or can i move them to my custom Plugin as DSL itself and auto apply them when the plugin is used.

I have other DSL like spotless apply or git or rpm which i was able configure them in the Plugin . Need some help with this artificatory DSL , i am not able to configure this as Java code.

Above link is the one i was looking for, i will try this today to see if everything works.