Build.gradle Script operates on Groovy which is the official programming language of Gradle. Also, the build script runs on syntax.
Maven Build.xml has two crucial attributes that define it- end tags and start tags.