Skip to content

Commit

Permalink
Close ProjectBuilder instance
Browse files Browse the repository at this point in the history
This test uses ProjectBuilder to configure the build.  Now that the
user home defaults to under the build directory, this causes problems
on Windows.
  • Loading branch information
big-guy committed Mar 10, 2021
1 parent 48e1d2f commit a7fff14
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import org.gradle.kotlin.dsl.fixtures.DslTestFixture
import org.gradle.kotlin.dsl.fixtures.newProjectBuilderProjectWith
import org.gradle.kotlin.dsl.fixtures.testInstallationGradleApiExtensionsClasspathFor
import org.gradle.kotlin.dsl.fixtures.testRuntimeClassPath
import org.gradle.testfixtures.internal.ProjectBuilderImpl

import org.hamcrest.CoreMatchers.equalTo
import org.hamcrest.CoreMatchers.nullValue
Expand Down Expand Up @@ -405,6 +406,7 @@ class TaskContainerDslIntegrationTest : AbstractKotlinIntegrationTest() {
)
}
}
ProjectBuilderImpl.stop(this)
}
}

Expand Down

0 comments on commit a7fff14

Please sign in to comment.