diff --git a/CHANGELOG.md b/CHANGELOG.md index 968d8c44..b5c381dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ that shows how to use this plugin version with Kotlin) * npm 7+ support (issue [#123](https://github.com/node-gradle/gradle-node-plugin/issues/123)) * Improved ARM support (issue [#130](https://github.com/node-gradle/gradle-node-plugin/issues/130)) * Gradle configuration cache support (issue [#111](https://github.com/node-gradle/gradle-node-plugin/issues/111)) +* Add RepositoryContentDescriptor to IvyRepository #136 ### Breaking changes diff --git a/src/main/kotlin/com/github/gradle/node/NodePlugin.kt b/src/main/kotlin/com/github/gradle/node/NodePlugin.kt index b5c86161..9f51a2f2 100644 --- a/src/main/kotlin/com/github/gradle/node/NodePlugin.kt +++ b/src/main/kotlin/com/github/gradle/node/NodePlugin.kt @@ -87,6 +87,7 @@ class NodePlugin : Plugin { private fun addRepository(distUrl: String) { project.repositories.ivy { + name = "Node.js" setUrl(distUrl) patternLayout { artifact("v[revision]/[artifact](-v[revision]-[classifier]).[ext]") @@ -95,6 +96,9 @@ class NodePlugin : Plugin { metadataSources { artifact() } + content { + includeModule("org.nodejs", "node") + } } }