fix gradle incremental build (previously circumvented on jar task)