fixing some minor gradle annoyances in open source

recent changes put some tests that break a few gradle features, because
they have LI-specific dependencies.  This change corrects that so that
things like `gradle tasks` work again.