How to do SVN Integration with gradle

Before calling my build script , I want to get updates from SVN. Then commit some files like build details, build number in SVN and then Tag repo. How to this through gradle tasks ?

To perform SVN operations, you can use one of the (third-party) Gradle SCM plugins, shell out to ‘svn’, or use an Ant task.