- 代码:
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项目中配置依赖,包括Spring Boot、Apache Shiro等框架的引入,以及本地jar包的依赖处理,确保项目构建稳定。
8060

被折叠的 条评论
为什么被折叠?



