[Build] Do not invalidate configuration cache when branch is switched (#118894)

* [Build] Do not invalidate configuration cache when branch is switched
* Update build tools tests
* Update GitInfoValueSource.java
This commit is contained in:
Rene Groeschke 2024-12-23 15:51:33 +01:00 committed by GitHub
parent edb3818ecc
commit f9c6a6c0b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 117 additions and 73 deletions

View file

@ -35,7 +35,7 @@ tasks.named('forbiddenApisMain').configure {
replaceSignatureFiles 'jdk-signatures'
}
ext.projectLicenses.set(['The Apache Software License, Version 2.0': 'http://www.apache.org/licenses/LICENSE-2.0'])
ext.projectLicenses.set(['The Apache Software License, Version 2.0': providers.provider(() -> 'http://www.apache.org/licenses/LICENSE-2.0')])
licenseFile.set(rootProject.file('licenses/APACHE-LICENSE-2.0.txt'))
tasks.withType(LicenseHeadersTask.class).configureEach {

View file

@ -36,7 +36,7 @@ tasks.named('forbiddenApisMain').configure {
replaceSignatureFiles 'jdk-signatures'
}
ext.projectLicenses.set(['The Apache Software License, Version 2.0': 'http://www.apache.org/licenses/LICENSE-2.0'])
ext.projectLicenses.set(['The Apache Software License, Version 2.0': providers.provider(() -> 'http://www.apache.org/licenses/LICENSE-2.0')])
licenseFile.set(rootProject.file('licenses/APACHE-LICENSE-2.0.txt'))
tasks.withType(LicenseHeadersTask.class).configureEach {