Skip to content

Commit e9398ca

Browse files
committed
[K2] Fix "Modules are inconsistent" in the SequentialTasksExecutionStressTest test
1 parent 24b0324 commit e9398ca

File tree

3 files changed

+28
-3
lines changed

3 files changed

+28
-3
lines changed

dokka-integration-tests/gradle/projects/it-sequential-tasks-execution-stress/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ fun createTask(name: String) {
2727
dokkaSourceSets {
2828
moduleName.set("Some example")
2929
register("kotlin-stdlib-common") {
30-
sourceRoots.from("src/main/java")
31-
sourceRoots.from("src/main/kotlin")
32-
samples.from("src/main/kotlin")
30+
sourceRoots.from("src/common/java")
31+
sourceRoots.from("src/common/kotlin")
32+
samples.from("src/common/kotlin")
3333
}
3434
}
3535
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package it.basic.java;
2+
3+
import it.basic.PublicClass;
4+
5+
/**
6+
* This class is, unlike {@link PublicClass}, written in Java
7+
*/
8+
@SuppressWarnings("unused")
9+
public class SampleJavaClass {
10+
11+
/**
12+
* @return Empty instance of {@link PublicClass}
13+
*/
14+
public PublicClass publicDocumentedFunction() {
15+
return new PublicClass();
16+
}
17+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
@file:Suppress("unused")
2+
3+
/**
4+
* A class that lives inside the root package
5+
*/
6+
class RootPackageClass {
7+
val description = "I do live in the root package!"
8+
}

0 commit comments

Comments
 (0)