Replies: 2 comments
-
|
I think there is no "intended" way to handle this in the codebase right now, but it seems like a useful feature. (This could be an opportunity to file your first https://github.com/skiptools/skipstone PR! 😁) |
Beta Was this translation helpful? Give feedback.
-
|
Dan is right, there isn't (yet) any good built-in way to support this. You can use an absolute path or a URL, both of which have obvious drawbacks if you want to be using a local and build-portable library. Our current And that would just do the right thing for a This does bear more consideration and investigation. But if your need a very short-term solution, then your current |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In a transpiled Skip package, I need to include a vendored Android JAR via
implementation(files(...))inSkip/skip.yml.The problem is that the generated Gradle project lives in different locations depending on how the package is being used:
Because of that, a fixed relative path to the JAR works in one context and breaks in another. In my case:
non-source vendored files are not automatically staged into generated src/main/swift, so pointing at a generated-module-local
Vendor/...jarpath is also unreliableI am using a function to check multiple path locations as a workaround, but I am guessing this is not the intended way:
Beta Was this translation helpful? Give feedback.
All reactions