Omit JDK sources archive from bundled JDK (#42821)

(cherry picked from commit 71d1454fe5ecc222801731a5f0e0e1053dc8997e)
This commit is contained in:
Mark Vieira 2019-06-05 10:08:30 -07:00
parent cfdb1b771e
commit 84eab4eba1
No known key found for this signature in database
GPG Key ID: CA947EF7E6D4B105
1 changed files with 3 additions and 0 deletions

View File

@ -378,6 +378,9 @@ configure(subprojects.findAll { ['archives', 'packages'].contains(it.name) }) {
if (details.relativePath.segments[-2] == 'bin' || details.relativePath.segments[-1] == 'jspawnhelper') {
details.mode = 0755
}
if (details.name == 'src.zip') {
details.exclude()
}
}
}
}