Is there a way I can get the detekt plugin version inside another custom task? I’m trying to abstract away some behavior that’s in each of our projects. We download the detekt config from a central location (artifactory) and have a file there for every version, like
detekt-config-1.15.yml
and
detekt-config-1.19.yml
etc. I’d like my task to just discover the version of detekt and built the URL automatically. I can do something like