Looks like Gradle works now - remind me to work on fixing this hackiness.