I'm curious of the differences between a compiled jar of custom tasks,
and using "apply from" for shared configuration/tasks.  I'm just using
apply from, pointing to a build.gradle file I stuff in our internal
maven repo...I'm wondering when I'd choose one technique over the
other.?

On Fri, Oct 22, 2010 at 9:39 AM, Etienne Studer
<[email protected]> wrote:
> Thanks Rene for your confirmation that buildscript{} is the proper way.
>
> Regards, Etienne
>
>
> On 22.10.2010, at 13:24, Rene Groeschke wrote:
>
>> Hi Etienne,
>> yes, to have custom jars available in the gradle classpath you have to add
>> them as a dependency with the buildscript closure. As an example you can
>> have a look at this sample build file at
>>
>> http://github.com/breskeby/gradleplugins/blob/0.9-upgrade/pdePlugin/src/samples/productpluginsbuild/ProductOnPluginsExample/build.gradle
>>
>> regards,
>> René
>>
>> Am Fr, 22.10.2010, 09:55, schrieb Etienne Studer:
>>> Hi
>>>
>>>
>>> If I have a jar file with a set of compiled Gradle tasks, how can I make
>>> them available in a Gradle project? I could not find the answer in the
>>> documentation.
>>>
>>> Should I use the buildscript {} method and add my jar file with the
>>> custom Gradle tasks as a dependency?
>>>
>>> Regards, Etienne
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> 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
>>
>>
>
> Etienne Studer
> Senior Software Developer
>
> Canoo Engineering AG
> Kirschgartenstrasse 5
> CH-4051 Basel
>
> T +41 61 228 94 44
> F +41 61 228 94 49
>
> [email protected]
> www.canoo.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


Reply via email to