Gradle Dependencies and Dependency Configurations: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 1: | Line 1: | ||
=External= | |||
* https://docs.gradle.org/current/userguide/dependency_management_for_java_projects.html | |||
=Internal= | =Internal= | ||
* [[Gradle Project#Dependencies|Gradle Project]] | * [[Gradle Project#Dependencies|Gradle Project]] |
Revision as of 09:34, 22 October 2020
External
Internal
TO DEPLETE
Overview
Dependencies for a project can be managed with Project.dependencies(Closure), Project.getDependencies() and the "dependencies" build.gradle DSL element:
dependencies {
// configuration closure
}
Configurations for a project can be managed with Project.configurations(Closure), Project.getConfigurations() and the "configurations" build.gradle DSL element:
configurations {
// configuration closure
}
Configuration, in this context, does not refer to a configuration file, as in a settings configuration or a build configuration. It refers to named set of dependencies or artifacts, and it can probably thought of as being a concept similar to a Maven scope.