From 1cfc7f8ebcc6038962c5384b1770768afdae4c1e Mon Sep 17 00:00:00 2001 From: Brian Clozel Date: Tue, 22 Sep 2026 22:17:57 +0200 Subject: [PATCH] Do not perform expansion on license file --- framework-docs/src/docs/dist/notice.txt | 2 +- gradle/spring-module.gradle | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/framework-docs/src/docs/dist/notice.txt b/framework-docs/src/docs/dist/notice.txt index 225eeb95d58..db8bf22511c 100644 --- a/framework-docs/src/docs/dist/notice.txt +++ b/framework-docs/src/docs/dist/notice.txt @@ -1,5 +1,5 @@ Spring Framework ${version} -Copyright (c) 2002-${copyright} Pivotal, Inc. +Copyright (c) 2002-${copyright} Broadcom Inc. This product is licensed to you under the Apache License, Version 2.0 (the "License"). You may not use this product except in compliance with diff --git a/gradle/spring-module.gradle b/gradle/spring-module.gradle index 2bd83cf11e4..0d3f8f07218 100644 --- a/gradle/spring-module.gradle +++ b/gradle/spring-module.gradle @@ -46,11 +46,14 @@ jar { manifest.attributes["Build-Jdk-Spec"] = "${System.getProperty("java.specification.version")}" from("${rootDir}/framework-docs/src/docs/dist") { - include "license.txt" include "notice.txt" into "META-INF" expand(copyright: new Date().format("yyyy"), version: project.version) } + from("${rootDir}/framework-docs/src/docs/dist") { + include "license.txt" + into "META-INF" + } } normalization {