In case anyone looking to solve the same problem googles this, here is my solution: http://blog.james-carr.org/2011/03/27/putting-gradle-scripts-into-artifactory/
So far it's working quite awesome. ;) On Sun, Mar 27, 2011 at 2:27 PM, James Carr <[email protected]> wrote: > I figured it out... blog post forthcoming. ;) > > On Sat, Mar 26, 2011 at 4:34 PM, James Carr <[email protected]> wrote: >> Actually I now feel like a fool. Taking a glance it looked like it was >> what I needed but when I actually tried it there was no luck. >> >> DefaultPublishArtifact does not resolve, even if I import it in the >> build script. >> >> On Sat, Mar 26, 2011 at 2:04 PM, James Carr <[email protected]> wrote: >>> Thanks this does the trick. I agree... it makes sense to store gradle >>> scripts in a localized maven repo. >>> >>> Thanks, >>> James >>> >>> >>> On Sat, Mar 26, 2011 at 5:57 AM, Rene Groeschke <[email protected]> wrote: >>>> Hi James, >>>> to do this automatically (within a gradle build i guess?) you may upload >>>> the >>>> gradle file as an build artifact. I did something similiar a while ago with >>>> a dll I need to be available via maven repo. Have a look at this thread: >>>> >>>> http://markmail.org/message/niseybxbjynckr2c >>>> >>>> I think this is still the way to go. In the future this should be more >>>> convenient. >>>> >>>> regards, >>>> René >>>> >>>> >>>> Am 26.03.11 04:17, schrieb James Carr: >>>>> >>>>> Thats it. For now I just uploaded them manually by hand but I'd prefer >>>>> to automate it. >>>>> >>>>> On Fri, Mar 25, 2011 at 8:03 PM, Rene Groeschke<[email protected]> >>>>> wrote: >>>>>> >>>>>> Hi James, >>>>>> What exactly are you looking for? We're uploading shared gradle scripts >>>>>> using the simple html form of artifactory and refer to them via apply >>>>>> "from:http://..." >>>>>> >>>>>> regards, >>>>>> René >>>>>> >>>>>> Am 25.03.11 21:15, schrieb James Carr: >>>>>>> >>>>>>> I'd like to store gradle scripts in our artifactory repository but I'm >>>>>>> not finding any good examples of doing this. >>>>>>> >>>>>>> Are there any examples of this? >>>>>>> >>>>>>> >>>>>>> Thanks, >>>>>>> James >>>>>>> >>>>>>> --------------------------------------------------------------------- >>>>>>> To unsubscribe from this list, please visit: >>>>>>> >>>>>>> http://xircles.codehaus.org/manage_email >>>>>>> >>>>>> >>>>>> -- >>>>>> ----------------------- >>>>>> regards René >>>>>> >>>>>> rene groeschke >>>>>> http://www.breskeby.com >>>>>> @breskeby >>>>>> >>>>>> >>>>>> --------------------------------------------------------------------- >>>>>> 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 >>>>> >>>>> >>>> >>>> >>>> -- >>>> ----------------------- >>>> regards René >>>> >>>> rene groeschke >>>> http://www.breskeby.com >>>> @breskeby >>>> >>>> >>>> --------------------------------------------------------------------- >>>> 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
