gradle: reuse io files for init scripts