Thread
#multiplatform
    r

    ribesg

    3 years ago
    Why aren’t
    main
    dependencies added to the corresponding
    test
    sourceSet automatically? I need to duplicate all dependencies defined in
    commonMain
    in
    commonTest
    if I want to use them. Same for
    androidMain
    and
    androidTest
    . I didn’t test it, but I suppose it’s the same for iOS
    gildor

    gildor

    3 years ago
    This is a known issue
    r

    ribesg

    3 years ago
    Ok so it’s Android specific and I don’t need to copy paste dependencies for iOS
    louiscad

    louiscad

    3 years ago
    My workaround is to have tests in another android only module depending on the library module I want to test. Should also work for application modules using a test dynamic feature module that is never actually included in the app.