Skip to content

Commit

Permalink
#134 Simplify the Groovy DSL repository declaration syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
bsautel committed Feb 4, 2021
1 parent ed721a2 commit e117731
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,10 +231,9 @@ dependencyResolutionManagement {
// Declare the Node.js download repository
ivy {
name = "Node.js"
setUrl("https://nodejs.org/dist/")
url = "https://nodejs.org/dist/"
patternLayout {
artifact("v[revision]/[artifact](-v[revision]-[classifier]).[ext]")
ivy("v[revision]/ivy.xml")
}
metadataSources {
artifact()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@ if (GradleVersion.current() >= GradleVersion.version("6.8")) {

ivy {
name = "Node.js"
setUrl("https://nodejs.org/dist/")
url = "https://nodejs.org/dist/"
patternLayout {
artifact("v[revision]/[artifact](-v[revision]-[classifier]).[ext]")
ivy("v[revision]/ivy.xml")
}
metadataSources {
artifact()
Expand Down

0 comments on commit e117731

Please sign in to comment.