You need to tell gradle where to find it.
repositories {
mavenCentral()
}
Note that the existing repositories { ... }
inside buildscript { ... }
is only to configure the repositories for the build classpath itself, not your project, so put this new element just under apply plugin ...