Add instructions for building examples with gradle/maven.