yes. There should be a better way.. Can you check other scala projects to see what they do? Would it help to place the jar under lib?