Gradle files for all lib and example projects.

Some tests are failing.