Generate example index from Gradle