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.
Add following to project’s build.gradle
build.gradle
repositories { mavenCentral() } dependencies { compile 'com.google.code.gson:gson:2.8.0' }
Here is the link for more info.