How does gradle-eclipse plugin deal with dependsOn

ε祈祈猫儿з 提交于 2019-12-12 06:12:00

问题


How does Gradle Eclipse plugin figure constructs as below

compileJava.dependsOn xjc

回答1:


Gradle-Eclipse plugin doesn't really do anything special with Gradle constructs. You'd be able to open Gradle Tasks view and run your 'xjc' or 'compileJava' task. You can also add your 'compileJava' or any other project to tasks to run after import in the Gradle Import wizard and have this task running every time Gradle project is refreshed (right-click on the project -> Gradle -> Refresh All). Whenever you build the project in Eclipse with JDT the compileJava task is not running if that is what you are asking... you'd have to start it up manually somehow.



来源:https://stackoverflow.com/questions/31413233/how-does-gradle-eclipse-plugin-deal-with-dependson

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!