gradle添加依赖的三种方式


第一种(只添加一种依赖,全部写全):
 compile "group":"org.springframework","name":"spring-beans","version":"5.2.5.RELEASE"
第二种(只添加一种依赖,简写): compile "org.springframework:spring-core:5.2.5.RELEASE" 第三种(添加多种依赖): compile( "org.springframework:spring-core:5.2.5.RELEASE", "org.springframework:spring-beans:5.2.5.RELEASE" )

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM