gradle依赖本地jar包
程序员文章站
2022-04-28 22:51:13
...
- 代码:
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'])
}
上一篇: gradle项目打包jar
下一篇: gradle 打包独立jar项目