GradleProjectSettingsControlBuilder (@NotNull GradleProjectSettings initialSettings) { return new IdeaGradleProjectSettingsControlBuilder(initialSettings) // hide java-specific option .dropResolveModulePerSourceSetCheckBox() .dropDelegateBuildCombobox() .dropTestRunnerCombobox() // hide this confusing option .dropCustomizableWrapperButton() // Hide bundled distribution option for a while .dropUseBundledDistributionButton(); }