Patrick Jackson

    3 years ago
    anyone know how to add a dependency to a specific configuration of a KMP module? i.e. in android module I want to use a certain configuration from the common module in a specific buildflavor Thought it would be along the lines of:
    implementation project(path: ':common', configuration: 'mock')


    3 years ago
    I would say go give a look at how the .module format is done and look at the dependency resolution rules to figure out which attributes to spec out to make it match?
    another example of it might be the new testFixture stuff in gradle 5.6
    fairly certain the testFixture is exactly the sort of thing you are after
    it just already has a bunch of DSL sugar on top of it