Enable debug option for Kotlin in Gradle Plugin tests
See gh-36617
This commit is contained in:
parent
87554fb4dc
commit
42e89079d3
|
@ -216,8 +216,8 @@ public class GradleBuild {
|
||||||
GradleRunner gradleRunner = GradleRunner.create()
|
GradleRunner gradleRunner = GradleRunner.create()
|
||||||
.withProjectDir(this.projectDir)
|
.withProjectDir(this.projectDir)
|
||||||
.withPluginClasspath(pluginClasspath());
|
.withPluginClasspath(pluginClasspath());
|
||||||
if (this.dsl != Dsl.KOTLIN && !this.configurationCache) {
|
if (!this.configurationCache) {
|
||||||
// see https://github.com/gradle/gradle/issues/6862
|
// See https://github.com/gradle/gradle/issues/14125
|
||||||
gradleRunner.withDebug(true);
|
gradleRunner.withDebug(true);
|
||||||
}
|
}
|
||||||
if (this.gradleVersion != null) {
|
if (this.gradleVersion != null) {
|
||||||
|
|
Loading…
Reference in New Issue