gradle依賴本地jar包

  1. 代碼:compile fileTree(dir:'../lib',include:['*.jar'])
dependencies {
	api "org.springframework.boot:spring-boot-starter-web"
	api "org.springframework.boot:spring-boot-starter-amqp"
	
	api "org.apache.shiro:shiro-core"
	
	//implementation project (":va-domain")
	//implementation project (":va-feign-client")
    //compile group: 'org.apache.commons', name: 'commons-lang', version: '2.6'
    // 依賴本地jar包防止gradle build失敗
    compile fileTree(dir:'../lib',include:['*.jar'])
}
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章