unity-jar-resolver
unity-jar-resolver copied to clipboard
Add credentials to dependency XML
[REQUIRED] Please fill in the following fields:
- Unity editor version:All
- External Dependency Manager version:All
- Source you installed EDM4U: unitypackage
- Features in External Dependency Manager in use:Android Resolver,
- Plugins SDK in use: None
- Platform you are using the Unity editor on:MAC
[REQUIRED] Please describe the question here:
Is there is a way to add to the Dependency.xml credentials like : maven { credentials { username = 'username' password = 'password' } url 'https://private-maven.com' authentication { basic(BasicAuthentication) } }
This is for our internal testing Thanks
This issue does not seem to follow the issue template. Make sure you provide all the required information.
Hi @alon357
This sample documents all the use case we support. And as far as I can tell, EDM4U does not support credential at this moment.
I can change this to a FR and we welcome any pull-request if you like to contribute to this feature :)
At the meantime, I think you can just use mainTemplate.gradle and add your credential and private Maven manually.
Unless you want to distribute your credential in Dependencies.xml? I am very curious about your use-case.
Let us know
Hi @chkuang-g, I have the same issue since my dependencies reside in GitHub packages, which require credentials to be accessed. Generally, it's easy to access them with build.gradle(in an android project), but for some reason, unity overrides my entries in mainTemplate.gradle.