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?
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
andcom.jfrog.artifactory
plugin imports into thebuildSrc
but after then I found out that using (at least the latter of the) plugins inbuildSrc
is probably disabled .What would be the recommended way to share the common
clientConfig
configuration (or even betterartifactoryPublish
andpublishing
sections) on one place?