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?

1

Please sign in to leave a comment.