- Home /
Local package dependenicy on another local package or git
Is it currently possible to make such setup of Unity Package Manager packages?
package A is a local package, sits on hardrive at for example C:/packages/A, root folder contains only package.json with next content in it
{
"name": "com.example.a",
"version": "1.0.0",
...
}
package B is also a local package, sits on hardrive at for example C:/packages/B root folder contains only package.json with next content in it
{
"name": "com.example.b",
"version": "1.0.0",
...
"dependencies" : {
"package_a": "file:../A"
}
}
According to this, for the Unity Project manifest.json we could specify path to local package or git url, similar to as in package B example, but For devendencies in package.json documentation says that it can contain:
A map of package dependencies. Keys are package names, and values are specific versions. They indicate other packages that this package depends on.
so that's probably why this is not working.
So is ther plans for this to be implemented? Or is there other way to do this setup?
The reason for this is to have core package that is used across other packages