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
signature.asc
Description: This is a digitally signed message part
