From 90d82d354a4c9cd0576f5bb5f18b07d43da813ee Mon Sep 17 00:00:00 2001 From: Leon Linhart Date: Tue, 25 Feb 2025 09:43:42 +0100 Subject: [PATCH] Use SPDX identifier in POMs 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 --- buildSrc/src/main/kotlin/Publishing.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildSrc/src/main/kotlin/Publishing.kt b/buildSrc/src/main/kotlin/Publishing.kt index 2e5028a828..ab82d06c73 100644 --- a/buildSrc/src/main/kotlin/Publishing.kt +++ b/buildSrc/src/main/kotlin/Publishing.kt @@ -23,7 +23,7 @@ fun MavenPom.configureMavenCentralMetadata(project: Project) { licenses { license { - name = "The Apache Software License, Version 2.0" + name = "Apache-2.0" url = "https://www.apache.org/licenses/LICENSE-2.0.txt" distribution = "repo" }