Skip to content

Publishing only root project's artifacts using :artifactoryPublish #141

@Tomas-Jakubec

Description

@Tomas-Jakubec

How can we help?

Hello,
I have a multi-module Gradle project where the Artifactory convention is applied to each module individually using build logic conventions, including the root project. Sometimes, I want to limit artifactory traffic by publishing only specific modules, which I can do with gradle :<module>:artifactoryPublish. However, when I run gradle :artifactoryPublish from the root project, the plugin publishes artifacts from all submodules.

Is there a way to configure the root project convention so that running gradle :artifactoryPublish only publishes the root project's artifacts (publications), similar to how it works for subprojects?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions