When creating a detachedConfiguration with a single file, I am getting the deprecation warning:
Deprecated: relying on packaging to define the extension of the main artifact is deprecated, and will not be supported in a future version of Gradle.
The detached configuration is being created as such:
I have tried it both with an @zip and without an @zip (which will break the plugin for some reason). Is there a correct way of defining this dependency? This is currently being used in a distribution plugin which will automatically add a common set of legal files into the zip file which is created.