Add input scope for scala task.