so you’d just need some jiggery pokery to fetch the JS module from the other subproject
h
hfhbd
06/28/2023, 8:50 AM
Yes. But instead referencing to a file, I want to use a Gradle project dependency, because Gradle needs to build the project first. Otherwise the package json file isn't found during fetching dependencies.
hfhbd
06/28/2023, 8:51 AM
But I think, this needs to be implemented in the KGP plugin.
a
Adam S
06/28/2023, 8:52 AM
would you expect a difference between using
npm()
and just adding a regular dependency, like this?
Copy code
implementation(project(":some-other-subproject))
h
hfhbd
06/28/2023, 8:54 AM
Yes, the normal implementation adds the subproject as source dependency, but I want to add it as a npm dependency and use the npm package with