diff options
author | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2017-06-21 14:51:50 +0300 |
---|---|---|
committer | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2017-06-21 14:51:50 +0300 |
commit | bca5db0f6176d5299c7e6e7a658d754171210791 (patch) | |
tree | d529b10b0d4643847e2718fef02d735493ea43f4 /runners | |
parent | 32d2310a44427330a92567984010ca470cb61e86 (diff) | |
download | dokka-bca5db0f6176d5299c7e6e7a658d754171210791.tar.gz dokka-bca5db0f6176d5299c7e6e7a658d754171210791.tar.bz2 dokka-bca5db0f6176d5299c7e6e7a658d754171210791.zip |
Fix OOME in integration tests
Diffstat (limited to 'runners')
-rw-r--r-- | runners/gradle-integration-tests/src/test/kotlin/org/jetbrains/dokka/gradle/AbstractDokkaGradleTest.kt | 5 |
1 files changed, 4 insertions, 1 deletions
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) |