Is it possible to disable publication for a specif...
# multiplatform
s
Is it possible to disable publication for a specific target while still having it enabled overall?
I'd like to add a target to one of my projects, but it's currently missing functionality due to a dependency, and I don't want that target to be published along with the rest when I push a new version.
m
tasks.withType<AbstractPublishToMaven> { onlyIf { !name.startsWith("publishSpecificTarget") } }
🎉 1