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, 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
