Is there a global setting for Build project Automatically and JVM args like -parameters?
There is this post BUT it's per project and our developers keep getting burned by not having the setting on
NOTE: The registry change is GLOBAL which is GREAT for us!! The other setting is not
There is this post HOWEVER, we are using gradle import so avoiding the 'create new project flow'...
Ideally, we would like to add
- -parameters to EVERY project's command line AND
- check off "Build project Automatically" to every project
- modify registry to "compiler.automake.allow.when.app.running"
Currently, the webpieces has a long list of instructions on setup which we would prefer would be magic and just set up the project that way under Intellij Setup ( https://github.com/deanhiller/webpieces ). We currently have no real issues with eclipse although we do have to manually add -parameters to it but that's not as big of an issue as the build project automatically.
My NUMBER 1 goal would be to put the configuration in gradle via some idea { ... } section so when I import it, the settings are applied automatically. This allows me to tweak intellij settings for our entire team....code formatting, etc. etc.
thanks,
Dean
请先登录再写评论。
You can use gradle-idea-ext gradle plugin and it's compiler configuration section to configure these options, including additional java compiler settings, auto-make options, please see Javac settings of IDEA compiler section of the documentation for examples.