I don't mind specifying it explicitly :). However, it might be cool to
have single 'javaCompatibility' field that would be used for both
target and source. Most projects use the same value for target &
source anyway.

Cheers,
Szczepan

On Thu, Feb 26, 2009 at 6:59 PM, Levi Hoogenberg
<[email protected]> wrote:
> Or 1.6 - it's mature enough, right? (Not saying you should expect that, just
> that if Gradle would default these values, I'd like to see them 1.6, not
> 1.5.)
>
> On Thu, Feb 26, 2009 at 6:37 PM, Russel Winder
> <[email protected]> wrote:
>>
>> It seems that the Java plugin no longer defines default values for
>> sourceCompatibility and targetCompatibility.  Thus the Gradle file:
>>
>>        usePlugin 'java'
>>        defaultTasks 'compile'
>>
>> leads to:
>>
>> Execution failed for task ':compile'.
>> Cause: The sourceCompatibility and targetCompatibility must be set!
>>
>> which is a bit annoying.  I had assumed the default compatibility would
>> be 1.5.
>> --
>> Russel.
>> ====================================================
>> Dr Russel Winder                 Partner
>>
>> Concertant LLP                   t: +44 20 7585 2200, +44 20 7193 9203
>> 41 Buckmaster Road,              f: +44 8700 516 084
>> London SW11 1EN, UK.             m: +44 7770 465 077
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to