Piotr Krzemiński
01/14/2025, 10:26 AMjvm()
target), and a JVM-only module that depends on the first one, both in the same project. The problem: the consumer doesn't see the functions from the library. Here's a reproducer: https://github.com/krzema12/jar-inspector/tree/kmp-module. What am I missing?Piotr Krzemiński
01/14/2025, 10:29 AMlibrary
module (JVM -> common). If library
is purely JVM, it worksRobert Jaros
01/14/2025, 10:59 AMjvmMain
or commonMain
instead of main
directory?Piotr Krzemiński
01/14/2025, 11:02 AMVampire
01/14/2025, 11:02 AMsrc/main
is not right for KMPVampire
01/14/2025, 11:02 AMPiotr Krzemiński
01/14/2025, 11:03 AMVampire
01/14/2025, 11:04 AMVampire
01/14/2025, 11:05 AMgroovy
plugin, it would handle src/main/groovy
, ...Piotr Krzemiński
01/14/2025, 11:13 AMVampire
01/14/2025, 11:23 AMPiotr Krzemiński
01/14/2025, 11:24 AMWell, the error usually should be visible pretty fast by things not being available.the motivator for the ticket was releasing a library with nothing inside it
Piotr Krzemiński
01/14/2025, 11:25 AMsrc
dir, right - that's an important pointVampire
01/14/2025, 11:25 AMthe motivator for the ticket was releasing a library with nothing inside itThat's maybe more a sign that tests are missing 😄
Piotr Krzemiński
01/14/2025, 11:26 AMtest
instead of commonTest
they wouldn't be run...Piotr Krzemiński
01/14/2025, 11:26 AMVampire
01/14/2025, 11:27 AMVampire
01/14/2025, 11:28 AMPiotr Krzemiński
01/14/2025, 11:29 AMPiotr Krzemiński
01/14/2025, 11:30 AM