Fix scala task inputs.