build.gradle - gradle project load is not loading the dependencies to Maven(.m2) repository - Stack Overflow

I have loaded a new gradle spring boot project to Intellij and when the project is imported, all the de

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'
}

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745598664a4635269.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信