This commit is contained in:
Anna Bulenkova 2015-05-21 10:45:52 +02:00
parent 7f968ecc79
commit 4808b6db7c

View File

@ -181,8 +181,13 @@ You can use the following methods:
##### How do I set the project SDK? ##### How do I set the project SDK?
##### To set the project-level SDK: ```ProjectRootManager.getInstance(project).setProjectSdk(Sdk jdk);``` ##### To set the project-level SDK:
##### To set the project-level SDK name: ```ProjectRootManager.getInstance(project).setProjectSdkName(String name);```
```ProjectRootManager.getInstance(project).setProjectSdk(Sdk jdk);```
##### To set the project-level SDK name:
```ProjectRootManager.getInstance(project).setProjectSdkName(String name);```
Note that by default, the project modules use the project SDK. Optionally, you can configure individual SDK for each module. Note that by default, the project modules use the project SDK. Optionally, you can configure individual SDK for each module.