Skip to content

Commit 59e86cf

Browse files
Use SPDX identifier in POMs (#2936)
This replaces the custom name with an SPDX identifier to enable tooling to automatically detect the correct license. See https://spdx.org/licenses/Apache-2.0.html
1 parent 10778f3 commit 59e86cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildSrc/src/main/kotlin/publishing-conventions.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ fun MavenPom.configureMavenCentralMetadata() {
152152

153153
licenses {
154154
license {
155-
name = "The Apache Software License, Version 2.0"
155+
name = "Apache-2.0"
156156
url = "https://www.apache.org/licenses/LICENSE-2.0.txt"
157157
distribution = "repo"
158158
}

0 commit comments

Comments
 (0)