Publishing Jars with Classifiers after v5.0

For the Kotlin DSL, you have to do: archiveClassifier.set("sources")
There is no DSL sugar that allows to use the = for assigning a value to the property.

That limitation is due to a language level Kotlin limitation from what I can recall.

1 Like