how to get IDE gradle settings in my own plugin

已回答

 

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

请先登录再写评论。