removed "buildscript" from the gradle file. Add it on your top level gradle file.