build.gradle文件中如何配置依赖的版本号

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’


版权声明:本文为qq_33157101原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。