Merge remote-tracking branch 'origin/master'
[idea/community.git] / plugins / gradle / src / org / jetbrains / plugins / gradle / service / project / wizard / GradleModuleBuilder.java
index 3dd4682b59ff6b912d3c14d51f014604b11ac025..acdf2f1b6912f37487d53f5e615eaaf32c015774 100644 (file)
@@ -142,7 +142,7 @@ public class GradleModuleBuilder extends AbstractExternalModuleBuilder<GradlePro
 
       }
     };
 
       }
     };
-    final GradleProjectSettingsControl settingsControl = new GradleProjectSettingsControl(getExternalProjectSettings());
+    final GradleProjectSettingsControl settingsControl = new GradleProjectSettingsControl(getExternalProjectSettings(), myWizardContext.getProject());
     return new ExternalModuleSettingsStep<GradleProjectSettings>(this, settingsControl);
   }
 
     return new ExternalModuleSettingsStep<GradleProjectSettings>(this, settingsControl);
   }