- Архив содержит более 65535 записей.
Код: Выделить всё
jar {
from configurations.compile.collect {
it.isDirectory() ? it : zipTree(it)
}
- При включении zip64 в jar – я получаю недействительный или поврежденный файл.
Код: Выделить всё
jar { zip64=true from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } - При добавлении ShadowJar
shadowJar {
zip64=true
Код: Выделить всё
Unable to read bytes
at org.springframework.boot.loader.ExecutableArchiveLauncher
Подробнее здесь: https://stackoverflow.com/questions/348 ... 35-entries