Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

No longer need to protect against using multiple repositories.

  • Loading branch information...
commit 7f776f7f41c743265f0f8289274fac2b5977eb49 1 parent c9b7f32
@alkemist alkemist authored
Showing with 0 additions and 15 deletions.
  1. +0 −15 build.gradle
View
15 build.gradle
@@ -76,21 +76,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.