File tree 2 files changed +2
-3
lines changed
repo/gradle-build-conventions/buildsrc-compat/src/main/kotlin 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -739,7 +739,7 @@ val syncMutedTests = tasks.register("syncMutedTests") {
739
739
tasks.register(" createIdeaHomeForTests" ) {
740
740
val ideaBuildNumberFileForTests = ideaBuildNumberFileForTests()
741
741
val intellijSdkVersion = rootProject.extra[" versions.intellijSdk" ]
742
- outputs.file(ideaBuildNumberFileForTests )
742
+ outputs.dir(ideaHomePathForTests() )
743
743
doFirst {
744
744
with (ideaBuildNumberFileForTests.get().asFile) {
745
745
parentFile.mkdirs()
Original file line number Diff line number Diff line change @@ -172,8 +172,7 @@ fun Project.projectTest(
172
172
evaluationDependsOn(" :test-instrumenter" )
173
173
}
174
174
return getOrCreateTask<Test >(taskName) {
175
- dependsOn(" :createIdeaHomeForTests" )
176
- inputs.dir(File (rootDir, " build/ideaHomeForTests" )).withPathSensitivity(PathSensitivity .RELATIVE )
175
+ inputs.files(rootProject.tasks.named(" createIdeaHomeForTests" ).map { it.outputs.files }).withPathSensitivity(PathSensitivity .RELATIVE )
177
176
178
177
muteWithDatabase()
179
178
if (jUnitMode == JUnitMode .JUnit4 ) {
You can’t perform that action at this time.
0 commit comments