Is there an easier way to add gson to my project?

android

Solution

In app/build.gradle:

 dependencies {
    compile 'com.google.code.gson:gson:2.8.2'
}

Problem

How do I add gson to my project with gradle? I only see people adding files to their projects. I don't want to download the project and put it in mine.

Original source