Thread
#multiplatform
    s

    serebit

    1 year ago
    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

    msink

    1 year ago
    tasks.withType<AbstractPublishToMaven> { onlyIf { !name.startsWith("publishSpecificTarget") } }