mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-89416 Gradle: Correct jdk setup when new gradle project is linked
This commit is contained in:
@@ -83,6 +83,7 @@ public class GradleModuleImporter {
|
||||
// Ensure that the dependencies are clear (used to be not clear when manually removing the module and importing it via gradle)
|
||||
ModuleRootManager moduleRootManager = ModuleRootManager.getInstance(created);
|
||||
final ModifiableRootModel moduleRootModel = moduleRootManager.getModifiableModel();
|
||||
moduleRootModel.inheritSdk();
|
||||
RootPolicy<Object> visitor = new RootPolicy<Object>() {
|
||||
@Override
|
||||
public Object visitLibraryOrderEntry(LibraryOrderEntry libraryOrderEntry, Object value) {
|
||||
|
||||
Reference in New Issue
Block a user