Skip to content

Commit fcda81e

Browse files
Use SPDX identifier in POMs (#4363)
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 00ae1a3 commit fcda81e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildSrc/src/main/kotlin/Publishing.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ fun MavenPom.configureMavenCentralMetadata(project: Project) {
2323

2424
licenses {
2525
license {
26-
name = "The Apache Software License, Version 2.0"
26+
name = "Apache-2.0"
2727
url = "https://www.apache.org/licenses/LICENSE-2.0.txt"
2828
distribution = "repo"
2929
}

0 commit comments

Comments
 (0)