Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single artifactoryPublish for a multi-module project? #687

Open
psiotwo opened this issue Dec 15, 2022 · 0 comments
Open

Single artifactoryPublish for a multi-module project? #687

psiotwo opened this issue Dec 15, 2022 · 0 comments
Labels
question Further information is requested

Comments

@psiotwo
Copy link

psiotwo commented Dec 15, 2022

I am using a multi-module gradle project, each module sharing a common configuration through a [buildSrc] plugin (https://docs.gradle.org/current/userguide/organizing_gradle_projects.html). I would like all the modules to be deployable to an Artifactory repo. Since the clientConfig for all these subprojects would be identical, I would like to share it at some common place.

Tried to use to move my artifactoryPublish section + maven-publish and com.jfrog.artifactory plugin imports into the buildSrc but after then I found out that using (at least the latter of the) plugins in buildSrc is probably disabled .

What would be the recommended way to share the common clientConfig configuration (or even better artifactoryPublish and publishingsections) on one place?

@psiotwo psiotwo added the question Further information is requested label Dec 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant