Thread
#multiplatform
    Javier

    Javier

    1 year ago
    Is it possible to override
    src/target/kotlin
    ? My idea is moving to
    project/common/Platform.kt
    project/commonTest/PlatformTest.kt
    project/ios/Platform.kt
    project/iosTest/AnotherTest.kt
    project/jvm/Platform.kt
    project/jvmTest/AnotherTest.kt
    ...
    project/build.gradle.kts
    turansky

    turansky

    1 year ago
    Yes, it’s available via sourse sets
    Javier

    Javier

    1 year ago
    do you have an example about it?
    louiscad

    louiscad

    1 year ago
    sourceSets* You can explore it inside the
    kotlin
    Gradle extension (aka.
    KotlinMultiplatformExtension
    in buildSrc)
    Javier

    Javier

    1 year ago
    I explored it yesterday but I didn't find a way to avoid the usage of src and kotlin folders
    louiscad

    louiscad

    1 year ago
    You should be able to take one sourceSet (e.g. using
    getByName
    ), and add any dir to it with
    srcDir
    Javier

    Javier

    1 year ago
    Thank you both, I will try later 😃
    turansky

    turansky

    1 year ago
    Such folder manipulation exists in coroutines project too
    And some plugins don’t respect “new source folder”
    As result - we have different styles 😞
    Javier

    Javier

    1 year ago