Difference between Maven and Gradle runtime (scope / configuration)?

Why is there a difference between the two. Yes, they decide to write it that way, but there is a reasonable purpose for everything.

In Gradle documentation :

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

      

.. includes compile-time dependencies.

In 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

      

... but not the class compilation path

...

+3


source to share


1 answer


This blog post has a good explanation:



http://andresalmiray.com/maven-scopes-vs-gradle-configurations/

0


source







All Articles