Instead of adding you dependencies to the one you're currently adding it do, you want to add it to the other dependencies, which is further down the file.
I also recommend adding mavenCentral() to your buildscript repositories, such you have easy access to maven dependencies.
I have added a pastebin for a build.gradle file I have, which adds a SQLite dependency, as an example. Just remember the file is version specific, so do not just copy paste over your own!
https://pastebin.com/RpbicBaD
Hope it helps.