I like the idea of removing support for running Gradle with Java 1.5. While I don't have requirements for compiling with 1.5 myself, I think a key feature that could help is a better abstraction to allow people to run Gradle with a different JDK than the one running Gradle.
There are options to do this in Gradle now, but I'd like it to get to the point where I just say "compile this with Oracle 1.5" and it knows where to get the JDK from on my machine. On a related note, I would love to be able to run my build with Gradle 1.8, but compile my plugins against Gradle 1.0 (or some other combination). Right now, I have to dig into the wrapper internals to do this. Andy On Mon, Oct 21, 2013 at 2:54 PM, Adam Murdoch <adam.murd...@gradleware.com>wrote: > > On 18/10/2013, at 9:34 PM, Daz DeBoer <darrell.deb...@gradleware.com> > wrote: > > G'day > HttpClient is one of the many libraries that we depend on that will soon > be removing support for Java 1.5. I'm thinking it might be a good idea to > deprecate support for Java 1.5 in Gradle prior to releasing Gradle 2.0. > > > Alternatively, we might fall back to java.net.URL on Java 5, with reduced > capabilities and/or performance. > > Deprecating running builds with Java 1.5 is definitely on the list for > 2.0. To do this we'd need to improve cross compilation, testing, javadoc, > java exec and so on. We'd also need to make a separate decision on whether > the tooling API should continue to support java 5, given the > forward-compatibility constraints it has. > > A slight variation would be to deprecate certain features that are causing > pain on Java 1.5, such as HTTP repositories. There are already certain > features that aren't support on Java 1.5 (eg incremental Scala compilation). > > > -- > Adam Murdoch > Gradle Co-founder > http://www.gradle.org > VP of Engineering, Gradleware Inc. - Gradle Training, Support, Consulting > http://www.gradleware.com > > Join us at the Gradle eXchange 2013, Oct 28th in London, UK: > http://skillsmatter.com/event/java-jee/gradle-exchange-2013 > > > >