From bca5db0f6176d5299c7e6e7a658d754171210791 Mon Sep 17 00:00:00 2001 From: Simon Ogorodnik Date: Wed, 21 Jun 2017 14:51:50 +0300 Subject: Fix OOME in integration tests --- .../kotlin/org/jetbrains/dokka/gradle/AbstractDokkaGradleTest.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'runners') diff --git a/runners/gradle-integration-tests/src/test/kotlin/org/jetbrains/dokka/gradle/AbstractDokkaGradleTest.kt b/runners/gradle-integration-tests/src/test/kotlin/org/jetbrains/dokka/gradle/AbstractDokkaGradleTest.kt index 255138a9..5b7cb93c 100644 --- a/runners/gradle-integration-tests/src/test/kotlin/org/jetbrains/dokka/gradle/AbstractDokkaGradleTest.kt +++ b/runners/gradle-integration-tests/src/test/kotlin/org/jetbrains/dokka/gradle/AbstractDokkaGradleTest.kt @@ -100,7 +100,10 @@ abstract class AbstractDokkaGradleTest { val fatjar = dokkaFatJarPathData.toFile().readText() return GradleRunner.create().withProjectDir(testProjectDir.root) - .withArguments("-Pdokka_fatjar=$fatjar", "-Ptest_kotlin_version=$kotlinVersion", *arguments) + .withArguments("-Pdokka_fatjar=$fatjar", + "-Ptest_kotlin_version=$kotlinVersion", + "-Dkotlin.compiler.execution.strategy=\"in-process\"", + *arguments) .withPluginClasspath(pluginClasspath) .withGradleVersion(gradleVersion) .withDebug(true) -- cgit