Ah. so would still require each project to define the buildscript in their
build.gradle file, then I don't think it'll work for my needs. Will look
into adding the fromJar method that would be very similar to what you did.

Cheers.
Eric

On Tue, Jul 19, 2011 at 12:12 PM, Merlyn Albery-Speyer <
[email protected]> wrote:

> I think it's using the buildscript.repositories.
>
> On Tue, Jul 19, 2011 at 11:32 AM, Eric Berry <[email protected]> wrote:
> > One other question. Will this take into account user's repository
> settings?
> > We have an internal repository that all dependencies must be proxied
> > through. Will I be able to have this in my build script:
> > [code]
> > apply plugin: 'company-plugin' from: 'com.example:company-plugin:1.0'
> >
> > repositories { mavenRepo urls: ['
> http://company.intranet/artifactory/repo']
> > }
> > [/code]
> >
> > Would this work?
> >
> > Thanks again.
> > Eric
> >
> >
> > On Tue, Jul 19, 2011 at 11:28 AM, Eric Berry <[email protected]> wrote:
> >>
> >> Merlyn,
> >>    Looking through the changes you made, I think this will actually work
> >> for my needs as well. I was thinking that we may be able to change the
> >> 'from' usage a bit to use your stuff as well, allowing for something
> like: "
> >> apply plugin: 'company-plugin', from: 'com.example:company-plugin:1.0'
> ".
> >>
> >> I think we can change the applyScript method to check to see if the
> given
> >> object is a URI first. If not, then assume it's a dependency and use a
> small
> >> variation of your createConfigurationWithDependency method.
> >>
> >> I'm not very familiar with Git, and I'm having troubles with pulling
> down
> >> the changes listed in your commit. When I clone the branch you provided,
> I
> >> don't see them.
> >>
> >> Any help here would be greatly appreciated.
> >>
> >> Thanks,
> >> Eric
> >>
> >> --
> >> Learn from the past. Live in the present. Plan for the future.
> >> Blog: http://eric-berry.blogspot.com
> >> jEdit <http://www.jedit.org> - Programmer's Text Editor
> >> Bazaar <http://bazaar.canonical.com> - Version Control for Humans
> >
> >
> >
> > --
> > Learn from the past. Live in the present. Plan for the future.
> > Blog: http://eric-berry.blogspot.com
> > jEdit <http://www.jedit.org> - Programmer's Text Editor
> > Bazaar <http://bazaar.canonical.com> - Version Control for Humans
> >
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>


-- 
Learn from the past. Live in the present. Plan for the future.
Blog: http://eric-berry.blogspot.com
jEdit <http://www.jedit.org> - Programmer's Text Editor
Bazaar <http://bazaar.canonical.com> - Version Control for Humans

Reply via email to