Taken from the wiki:
Open up the build.gradle file in the root of your project, and locate the following line:
gdxVersion = "1.0.0"
That means you should not edit the build.gradle
file in your core project, but in the root folder of your projects.
After that you should proceed according to your IDE as it's described in the wiki article.