diff --git a/CHANGELOG.md b/CHANGELOG.md index 48cec9fd..f0866202 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,9 +2,10 @@ ## Version 7.x *(unreleased)* -## Version 7.0.3 *(unreleased)* +## Version 7.1.0 *(unreleased)* * Add support for ARM64 Windows [#315](https://github.com/node-gradle/gradle-node-plugin/issues/315) * Add support for AIX [#320](https://github.com/node-gradle/gradle-node-plugin/issues/320) +* Add license to publications POM [#319](https://github.com/node-gradle/gradle-node-plugin/issues/319) ## Version 7.0.2 *(2024-02-02)* * Prevent misconfigured `workDir` from removing all unrelated files [#297](https://github.com/node-gradle/gradle-node-plugin/issues/297) diff --git a/build.gradle.kts b/build.gradle.kts index 807c779e..55ed4cbf 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -182,3 +182,12 @@ pluginBundle { tasks.wrapper { distributionType = Wrapper.DistributionType.ALL } + +publishing.publications.withType().configureEach { + pom.licenses { + license { + name.set("Apache License, Version 2.0") + url.set("http://www.apache.org/licenses/LICENSE-2.0.txt") + } + } +}