1.直接指定具体版本号
compile ‘com.google.code.gson:gson:2.8.0’
2.指定大版本号
compile ‘com.google.code.gson:gson:2.+’
3.依赖最新的版本
compile ‘com.google.code.gson:gson:latest.release’
1.直接指定具体版本号
compile ‘com.google.code.gson:gson:2.8.0’
2.指定大版本号
compile ‘com.google.code.gson:gson:2.+’
3.依赖最新的版本
compile ‘com.google.code.gson:gson:latest.release’