Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

No longer need to protect against using multiple repositories.

  • Loading branch information...
commit aa0c4d3fc65af55c23ebf7b26d7871cd0a50b89a 1 parent 7c61210
Luke Daley alkemist authored
Showing with 0 additions and 15 deletions.
  1. +0 −15 build.gradle
15 build.gradle
View
@@ -74,21 +74,6 @@ if (jointBuildGroovyJarProperty) {
}
}
-// Prevent multiple repositories being used because the populateDependencies task in assemble.gradle
-// will break down if this build uses multiple repositories.
-gradle.taskGraph.whenReady { taskGraph ->
- if (taskGraph.hasTask(populateDependencies)) {
- def projectsWithMultipleRepos = allprojects.findAll { repositories.size() > 1 }
- if (projectsWithMultipleRepos) {
- throw new GradleException(
- "There are projects with more than one repository defined. \n" +
- "This isn't allowed as it breaks the populateDependencies task. You can only use the grails central repo. \n" +
- "This is a temporary workaround for the Gradle issue: http://issues.gradle.org/browse/GRADLE-1989"
- )
- }
- }
-}
-
allprojects {
repositories {
maven { url "http://repo.grails.org/grails/core" }
Please sign in to comment.
Something went wrong with that request. Please try again.