Davide, I am not sure I fully understand your needs but I have developed a Gradle plugin, called Gradle Workspace Plugin, which allows to create conditional dependencies between projects and artifacts.
Have a look to the announcement I have sent http://gradle.1045684.n5.nabble.com/ANN-Gradle-Workspace-Plugin-td3238704.html In few words, the plugin allows to: - load project specific properties from a CSV file. For example you can specify the properties for the other my plugin (gradle-svnkit) to connect a project to a Subversion repository - use the method ws_project(<project_name>) in the dependency clousure to add a dependency either from the project or, if not present or disabled, from its jar - manage the build.gradle of all sub-projects with one file workspace.gradle So, in few words, you specify the dependencies of the projects with ws_project() method and then you can control if the dependency is with the project or its artifact. Note that it is a plugin I have developed in my spare time. This means that it needs some code cleaning and generalization. Hope it can help you Don't hesitate to provide any comment/feddback Regards, Walter On 17 June 2011 08:54, davide.cavestro <[email protected]> wrote: > Hi guys, > I'd like to know if there is a way to somewhat elect a local gradle project > to be considered for satisfying other projects dependencies. > This way we could - especially on early developments - avoid packaging and > uploading snapshot artifacts over and over on our private maven repo only to > see how they behave on a project we have in the same workspace. This > scenario applies even for testing a high invasive refactoring. > It would be something similar to inline plugins for grails ( > http://johnrellis.blogspot.com/2010/03/grails-inplace-plugin-tip.html ). > PS: I asked the same thing to STS/gradle integration developers (they really > made a great work!!!) at > https://issuetracker.springsource.com/browse/STS-1314?focusedCommentId=41768&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-41768 > but they forwarded me to this forum. > > Cheers > Davide > > -- > View this message in context: > http://gradle.1045684.n5.nabble.com/Is-it-possible-to-elect-a-local-gradle-project-to-satisfy-other-projects-deps-tp4497854p4497854.html > Sent from the gradle-user mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
