how to get IDE gradle settings in my own plugin
Answered
I want to get the gradle option of "delegate build to Gradle", then I add dependency 'gradle' to my plugin, I can see there are some API about this.
GradleSystemRunningSettings.getInstance().isUseGradleAwareMake();
GradleProjectSettings.isDelegatedBuildEnabled()
but when I debug my plugin, it always alert me that gradle settings class not found, why?
Please sign in to leave a comment.
Did you declare dependency in plugin.xml for Gradle plugin? http://www.jetbrains.org/intellij/sdk/docs/basics/plugin_structure/plugin_dependencies.html#declaration-in-pluginxml