From 1b3f7ab42c74fee34faad8b5bf8a4f3dd0bea900 Mon Sep 17 00:00:00 2001 From: Leon Linhart Date: Tue, 25 Feb 2025 09:38:24 +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-conventions.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildSrc/src/main/kotlin/publishing-conventions.gradle.kts b/buildSrc/src/main/kotlin/publishing-conventions.gradle.kts index 6d0d3bfe26..82a92963d2 100644 --- a/buildSrc/src/main/kotlin/publishing-conventions.gradle.kts +++ b/buildSrc/src/main/kotlin/publishing-conventions.gradle.kts @@ -152,7 +152,7 @@ fun MavenPom.configureMavenCentralMetadata() { 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" }