Do not perform expansion on license file

This commit is contained in:
Brian Clozel
2026-09-22 22:17:57 +02:00
parent 7be3a61a14
commit 1cfc7f8ebc
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -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
+4 -1
View File
@@ -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 {