File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
src/test/kotlin/org/jetbrains/intellij Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -36,15 +36,17 @@ abstract class IntelliJPluginSpecBase {
3636 ? : throw GradleException (" 'test.intellij.version' isn't provided" )
3737 val testMarkdownPluginVersion = System .getProperty(" test.markdownPlugin.version" ).takeUnless { it.isNullOrEmpty() }
3838 ? : throw GradleException (" 'test.markdownPlugin.version' isn't provided" )
39- val dir: File by lazy { createTempDirectory(" tmp" ).toFile() }
39+ var dir: File = createTempDirectory(" tmp" ).toFile()
4040
41- val gradleProperties = file(" gradle.properties" )
42- val buildFile = file(" build.gradle" )
43- val pluginXml = file(" src/main/resources/META-INF/plugin.xml" )
44- val buildDirectory = File (dir, " build" )
41+ val gradleProperties get() = file(" gradle.properties" )
42+ val buildFile get() = file(" build.gradle" )
43+ val pluginXml get() = file(" src/main/resources/META-INF/plugin.xml" )
44+ val buildDirectory get() = File (dir, " build" )
4545
4646 @BeforeTest
4747 open fun setUp () {
48+ dir = createTempDirectory(" tmp" ).toFile()
49+
4850 file(" settings.gradle" ).groovy(" rootProject.name = 'projectName'" )
4951
5052 buildFile.groovy(
You can’t perform that action at this time.
0 commit comments