Hi,

I'm using the gradle artifactory plugin in a multi-project setup. The
default convention reuse the artifactId from the rootProject in every
sub-project and I need to change this behavior.

Maven layout : [groupId][artifactId][version]
Generated by artifactory :
[com.organisation.rootProject].[rootProject].[1.0.0]
*What I want *: [com.organisation.rootProject].[*subProject*].[1.0.0]

From documentation (
http://wiki.jfrog.org/confluence/display/RTF/Gradle+Artifactory+Plugin
<http://wiki.jfrog.org/confluence/display/RTF/Gradle+Artifactory+Plugin>  )
: 

/"By default, BuildInfo will be published with a build name that is the name
of your root project and a build number that is the start date of the build.
You can control the build name and build number values by specifying the
following properties, respectively:

buildInfo.build.name=my-super-cool-build
buildInfo.build.number=r9001"/

I wasn't able to change the build.name in my sub-project. I didn't find the
BuildInfo either (is it a task, a configuration, a property?). How can I
make it work?

I'm using this version :
 - gradle 1.3
 - artifactory plugin 2.0.17

Thanks,
Jérémie



--
View this message in context: 
http://forums.jfrog.org/Unable-to-change-artifactId-in-gradle-multi-project-tp7578491.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to