Build the sample project with gradle as well