Maven和Gradle运行时(范围/配置)之间的区别?

时间:2015-01-11 14:24:54

标签: maven gradle dependencies runtime

为什么两个概念之间存在差异。是的,他们决定以这种方式写它,但是对于一切都有合理的目的。

Gradle documentation中:

runtime
The dependencies required by the production classes at runtime. By default, also includes the compile time dependencies.

.. 包括编译时依赖项。

Maven中:

runtime
This scope indicates that the dependency is not required for compilation, but is for execution. It is in the runtime and test classpaths, but not the compile classpath

... 但不是编译类路径

0 个答案:

没有答案