Skip to content

Commit

Permalink
Add license to POM #319
Browse files Browse the repository at this point in the history
  • Loading branch information
deepy committed Sep 27, 2024
1 parent a4a882c commit e7090ee
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
9 changes: 9 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -182,3 +182,12 @@ pluginBundle {
tasks.wrapper {
distributionType = Wrapper.DistributionType.ALL
}

publishing.publications.withType<MavenPublication>().configureEach {
pom.licenses {
license {
name.set("Apache License, Version 2.0")
url.set("http://www.apache.org/licenses/LICENSE-2.0.txt")
}
}
}

0 comments on commit e7090ee

Please sign in to comment.