Skip to content

Commit

Permalink
Move back JVM tests to 'java' directory (#376)
Browse files Browse the repository at this point in the history
It's a follow-up after
#375. It's a
partial revert of it - we can leave `jvmMain/kotlin` since there's no
Java files in `jvmMain`.

I noticed this warning in the IDE:
<img width="589" alt="Screenshot 2025-01-21 at 07 54 07"
src="https://github.com/user-attachments/assets/078c6e3d-a00b-49d6-bbcf-4fa968b916e4"
/>

Also checked that the test isn't run.

Moving back to `java` fixed the problem.

Apparently:
* `java` directory can keep both Java and Kotlin code, to enable gradual
migration
* `kotlin` directory can keep only Kotlin code

See
https://kotlinlang.org/docs/gradle-configure-project.html#kotlin-and-java-sources:

> Do not store Java .java files in the src/*/kotlin directory, as the
.java files will not be compiled.
> Instead, you can use src/main/java.
  • Loading branch information
krzema12 authored Jan 21, 2025
1 parent 1f93a67 commit 456f086
Show file tree
Hide file tree
Showing 85 changed files with 0 additions and 0 deletions.

0 comments on commit 456f086

Please sign in to comment.