How to convert maven to gradle
The first thing is, you have to install gradle. Its easy. I know you can do it. Go to the installing guide: http://www.gradle.org/docs/current/userguide/installation.html
Now the second step is to run ‘gradle init‘ in the directory containing the POM file. This will convert the maven build to a gradle build generating a setting.gradle file and one or ore more build.gradle files.
How to convert gradle to maven
You just need to add a maven plugin in your build.gradle.
Your build gradle should be like this-
Now run ‘gradle install‘ in the build.gradle folder.
Now you will find in the build/poms subfolder, a file called pom-default.xml which will contain the dependencies.
Now its all yours, copy it, customise it add up new stuff.