Skip to content

Commit 686518f

Browse files
authored
Tweak the inference of the test class's package a bit, to support src/test/kotlin/ and kotlin/, since while it's common for kotlin files to live in a /java/ root, it's not UNcommon for them to live in a *kotlin/ root. (#257)
1 parent 282d28c commit 686518f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

kotlin/internal/jvm/impl.bzl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,9 @@ def kt_jvm_binary_impl(ctx):
156156

157157
_SPLIT_STRINGS = [
158158
"src/test/java/",
159+
"src/test/kotlin/",
159160
"javatests/",
161+
"kotlin/",
160162
"java/",
161163
"test/",
162164
]

0 commit comments

Comments
 (0)