change cuba to runtime dependency.