[GRADLE-1371] Java 7 Source and Target Compatibility Created: 04/Feb/11 Updated: 04/Jan/13 Resolved: 04/Feb/11 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | 0.9.2 |
Fix Version/s: | 1.0-milestone-1 |
Type: | Improvement | ||
Reporter: | Robert Fischer | Assignee: | Peter Niederwieser |
Resolution: | Fixed | Votes: | 0 |
Description |
If you set sourceCompatibilty or targetCompatibility to "7", you get the following error: Cause: Could not determine java version from '7'. This, however, works just fine: tasks.withType(Compile).allTasks { Compile compile -> Gradle needs to update its mapping of Java versions to support Java 7 before Java 7 is released. (IF Java 7 is ever released...) |
Comments |
Comment by Pablo Munoz [ 10/May/12 ] |
Is this available in rc-3? |
Comment by Peter Niederwieser [ 10/May/12 ] |
Yes, it was fixed more than a year ago. |