require hxjava dependency on java target