Skip to content

Commit f90ede9

Browse files
authored
update comment about kotlin("jvm") apply false in test project (#4355)
1 parent 012ac6d commit f90ede9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dokka-runners/dokka-gradle-plugin/src/testFixtures/kotlin/projects/MultiModuleProject.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ fun TestScope.initMultiModuleProject(
3434

3535
buildGradleKts = """
3636
|plugins {
37-
| // Kotlin plugin shouldn't be necessary here, but without it Dokka errors
38-
| // with ClassNotFound KotlinPluginExtension... very weird
37+
| // Must apply KGP in the root project ensure consistent classpath,
38+
| // preventing issues like https://github.com/gradle/gradle/issues/17559 and https://github.com/gradle/gradle/issues/27218
3939
| kotlin("jvm") version embeddedKotlinVersion apply false
4040
| id("org.jetbrains.dokka") version "${DokkaConstants.DOKKA_VERSION}"
4141
| id("org.jetbrains.dokka-javadoc") version "${DokkaConstants.DOKKA_VERSION}"

0 commit comments

Comments
 (0)