File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -62,8 +62,9 @@ allprojects {
6262 }
6363
6464 tasks. withType(Test ). configureEach { Task testTask ->
65+ def grailsIncludedBuildName = rootProject. layout. projectDirectory. dir(' ..' ). asFile. name
6566 testTask. dependsOn(
66- gradle. includedBuild(' grails-core ' ). task(' :publishAllPublicationsToTestCaseMavenRepoRepository' ),
67+ gradle. includedBuild(grailsIncludedBuildName ). task(' :publishAllPublicationsToTestCaseMavenRepoRepository' ),
6768 gradle. includedBuild(' grails-gradle' ). task(' :publishAllPublicationsToTestCaseMavenRepoRepository' )
6869 )
6970 }
Original file line number Diff line number Diff line change @@ -89,7 +89,8 @@ rocker {
8989// profile base
9090TaskProvider<Sync > copyGrailsWrapper = tasks. register(' copyGrailsWrapper' , Sync )
9191copyGrailsWrapper. configure { Sync it ->
92- it. dependsOn(gradle. includedBuild(' grails-core' ). task(' :grails-wrapper:installDist' ))
92+ def grailsIncludedBuildName = rootProject. layout. projectDirectory. dir(' ..' ). asFile. name
93+ it. dependsOn(gradle. includedBuild(grailsIncludedBuildName). task(' :grails-wrapper:installDist' ))
9394
9495 def wrapperFiles = rootProject. layout. projectDirectory. dir(' ../grails-wrapper/build/install/apache-grails-wrapper-incubating-bin' )
9596 it. inputs. files(wrapperFiles)
You can’t perform that action at this time.
0 commit comments