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" )

 

posted @ 2020-08-11 00:49  feibazhf  阅读(16677)  评论(0)    收藏  举报