[GRADLE-2230] improved idea.project.jdkName setting Created: 13/Apr/12  Updated: 04/Jan/13  Resolved: 24/Apr/12

Status: Resolved
Project: Gradle
Affects Version/s: None
Fix Version/s: 1.1-rc-1

Type: Bug
Reporter: Szczepan Faber Assignee: Szczepan Faber
Resolution: Fixed Votes: 0


 Description   

There are 2 problems with idea.project.jdkName setting at the moment:

  1. It never respects the client setting. This means that if someone manually changed the jdkName, his setting will be overridden every time idea task runs. This is quite painful (I have to always update it on my windows VM where I use jdk 7. This wore me out and hence I'm fixing this bug)
  2. Its default setting does not offer a good approximation of what the client has. At the moment, the default is sourceCompatiblity or '1.6'. The best approximation at the moment is to find out what is the current jvm and build a String out of that.


 Comments   
Comment by Szczepan Faber [ 24/Apr/12 ]

Resolved by changing the default to the 'current' version of java the Gradle build runs with.

Generated at Wed Jun 30 12:16:17 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.