add restore task in the build.gradle