Rename license file

New bytebuddy uses LICENSE file that causes build problems on case sensitive FS
This commit is contained in:
Nikolay Martynov 2019-10-07 10:15:11 -04:00
parent 1e5f0ac935
commit 0b32d65b29
1 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,8 @@ def includeShadowJar(subproject, jarname) {
from(zipTree(subproject.tasks.shadowJar.archivePath)) {
into jarname
rename '(^.*)\\.class$', '$1.classdata'
// Rename LICENSE file since it clashes with license dir on non-case sensitive FSs (i.e. Mac)
rename '^LICENSE$', 'LICENSE.renamed'
}
}