Gradle Dependencies and Dependency Configurations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * Gradle Project =TO DEPLETE= {{Internal|Gradle Dependencies and Dependency Configurations|Gradle Dependencies and Dependency Config...")
 
Line 4: Line 4:
{{Internal|Gradle Dependencies and Dependency Configurations|Gradle Dependencies and Dependency Configurations}}
{{Internal|Gradle Dependencies and Dependency Configurations|Gradle Dependencies and Dependency Configurations}}
=Overview=
=Overview=
Dependencies for a project can be managed with [https://docs.gradle.org/current/javadoc/org/gradle/api/Project.html#dependencies-groovy.lang.Closure- Project.dependencies(Closure)], [https://docs.gradle.org/current/javadoc/org/gradle/api/Project.html#getDependencies-- Project.getDependencies()] and the "dependencies" DSL element:
<syntaxhighlight lang='groovy'>
dependencies {
  // configuration closure
}

Revision as of 00:42, 4 October 2020

Internal

TO DEPLETE

Gradle Dependencies and Dependency Configurations

Overview

Dependencies for a project can be managed with Project.dependencies(Closure), Project.getDependencies() and the "dependencies" DSL element: <syntaxhighlight lang='groovy'> dependencies {

 // configuration closure

}