admin管理员组文章数量:1024639
I have loaded a new gradle spring boot project to Intellij and when the project is imported, all the dependencies are getting downloaded to gradle cache but not to the mavenLocal(~/.m2/repository). I have all the below but nothing worked. My gradle version is 8.8
repositories {
mavenLocal()
}
export MAVEN_REPO=/Users/user_name/.m2/repository export M2_HOME=/Users/user_name/.m2/repository
gradle clean build --no-build-cache
gradle --refresh-dependencies
have the below plugins in my build.gradle :
plugins {
id 'java-library'
id 'idea'
id 'eclipse'
id 'maven-publish'
}
I have loaded a new gradle spring boot project to Intellij and when the project is imported, all the dependencies are getting downloaded to gradle cache but not to the mavenLocal(~/.m2/repository). I have all the below but nothing worked. My gradle version is 8.8
repositories {
mavenLocal()
}
export MAVEN_REPO=/Users/user_name/.m2/repository export M2_HOME=/Users/user_name/.m2/repository
gradle clean build --no-build-cache
gradle --refresh-dependencies
have the below plugins in my build.gradle :
plugins {
id 'java-library'
id 'idea'
id 'eclipse'
id 'maven-publish'
}
本文标签: buildgradlegradle project load is not loading the dependencies to Maven(m2) repositoryStack Overflow
版权声明:本文标题:build.gradle - gradle project load is not loading the dependencies to Maven(.m2) repository - Stack Overflow 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745598662a2158324.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论