Use javaSource configuration instead of hard coding it.