It adds the java plugin automatically if the java or the groovy plugin is missing. When the idea or eclipse plugin is used, it also adds the new dependencies to their provided scope