Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

SEC-2018: Remove mavenLocal() from gradle build #2243

Closed
spring-issuemaster opened this Issue Jul 23, 2012 · 1 comment

Comments

Projects
None yet
2 participants

Rob Winch (Migrated from SEC-2018) said:

Due to quite a few users encountering GRADLE-2034 it is probably better to remove the reference to mavenLocal() from the build. This will slow builds that have a maven cache the first time they build with gradle since all dependencies will need to be downloaded. However, this will only happen once and it ensures that they do not have any build issues.

Rob Winch said:

There are two ways to work around the issue:

  1. Delete or rename your local maven repository (i.e. ~/.m2/repository/)
  2. Remove the mavenLocal() from the build.gradle as was done to resolve this issue. You can see the details in this diff

@spring-issuemaster spring-issuemaster added this to the 3.1.2 milestone Feb 5, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment