File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -74,21 +74,6 @@ if (jointBuildGroovyJarProperty) {
7474 }
7575}
7676
77- // Prevent multiple repositories being used because the populateDependencies task in assemble.gradle
78- // will break down if this build uses multiple repositories.
79- gradle. taskGraph. whenReady { taskGraph ->
80- if (taskGraph. hasTask(populateDependencies)) {
81- def projectsWithMultipleRepos = allprojects. findAll { repositories. size() > 1 }
82- if (projectsWithMultipleRepos) {
83- throw new GradleException (
84- " There are projects with more than one repository defined. \n " +
85- " This isn't allowed as it breaks the populateDependencies task. You can only use the grails central repo. \n " +
86- " This is a temporary workaround for the Gradle issue: http://issues.gradle.org/browse/GRADLE-1989"
87- )
88- }
89- }
90- }
91-
9277allprojects {
9378 repositories {
9479 maven { url " http://repo.grails.org/grails/core" }
You can’t perform that action at this time.
0 commit comments