Fixing copyBootstrap gradle task to work with up-to-date checking