从build.gradle获取设置对象

时间:2014-02-27 06:10:32

标签: android intellij-idea android-studio

如何在build.gradle文件中以编程方式获取设置对象? 我试过了Settings.settings,但gradle告诉了我

* What went wrong:
A problem occurred evaluating project ':social_lib'.
> No such property: settings for class: org.gradle.api.initialization.Settings
  Possible solutions: settings, settingsDir

0 个答案:

没有答案