Skip to content
This repository has been archived by the owner on Jun 27, 2020. It is now read-only.

Doesn't handle npm dependencies of dependent project #137

Open
mpiniarski opened this issue Feb 5, 2019 · 1 comment
Open

Doesn't handle npm dependencies of dependent project #137

mpiniarski opened this issue Feb 5, 2019 · 1 comment

Comments

@mpiniarski
Copy link

Having project B with a set of npm dependencies defined in gradle using the plugin syntax it's not possible to add project B as a dependency to project A without redefining all npm dependencies in project A.

i.e.
in project B:

...
apply plugin: 'org.jetbrains.kotlin.frontend'
...
kotlinFrontend {
    ...
    npm {
        dependency("some-dependency", "$some-dependency_version")
    }
}

in project A

...
apply plugin: 'org.jetbrains.kotlin.frontend'
...
dependencies {
    compile project(':B')
}

doesn't work, because project A is missing some-dependency npm module.
Because of this it's hard to manage project with multiple subprojects, cause it results managing all dependiencies in a root project.

@mpiniarski
Copy link
Author

up

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant