Well, no easy solution now, because there is still no support for backend specific source files or dependencies, see ceylon/ceylon-spec#499 and ceylon/ceylon-spec#500.