Compile dependencies are only used at compile time. We don't package them
with the jar by default.

On Fri, Jul 8, 2011 at 01:38, Tom Lee <[email protected]> wrote:

> On 07/07/11 03:14, 
> jeanphilippe1.caruana@orange-**ftgroup.com<[email protected]>wrote:
>
>> On 06/07/2011 15:35, Tom Lee wrote:
>>
>>> Hi all,
>>>
>>> Is it currently possible to scope dependencies? Something along the
>>> lines of:
>>>
>>> compile.with "com.jgoodies:looks:2.2.0:jar"
>>>
>>
>> that's how you declare compile scope dependancies.
>> test dependancies :
>> test.with 'com:com;1:jar'
>>
>>
>>  Oh, of course. Silly question. Let me rephrase: I guess I was looking for
> a sort of "compile_only": something that is *only* needed at compile time
> and is not a dependency of the resulting package (e.g. the Mirah compiler,
> which generates JVM bytecode without any additional runtime library
> requirements).
>
> Any hints, short of package(:jar).exclude artifact(...) ?
>
>
> --
>
> *Tom Lee*
> Software Developer / Consultant
> http://tomlee.co | @tglee <http://twitter.com/tglee> | 0450 112 893 <tel:
> +61450112893>
>
> /(or check out my code on github <http://github.com/thomaslee>)**/
>
>

Reply via email to