On Wed, Feb 8, 2012 at 11:17 PM, Adam Murdoch
<[email protected]>wrote:

> Hi,
>
> We currently have a slightly awkward set of defaults for compilation:
> * Compile using source and target compatibility of 1.5
> * Compile against the API of the current JVM.
>
> Locking down the source and target compatibility doesn't really buy you
> much while the API can float around. I think we should change the source
> and target compatibility to default to the java version of the current jvm,
>

I agree. It would be cool to implement the change in a way users get a
heads-up (e.g. some kind of deprecation).


> and later do a better effort to cross compile against the relevant API
> when sourceCompatibility is specified. For example, we might probe for a
> java 5 jvm and use its boot classpath for compilation.
>
> Thoughts?
>
> --
> Adam Murdoch
> Gradle Co-founder
> http://www.gradle.org
> VP of Engineering, Gradleware Inc. - Gradle Training, Support, Consulting
> http://www.gradleware.com
>
>


-- 
Szczepan Faber
Principal engineer@gradleware
Lead@mockito

Reply via email to