How to Prevent Dependency Download For Integrators of Unity SDK?
I am new to Unity development but have experience with native Android app development.
One limitation I have noticed in Unity is control with dependencies. As far as I can tell, if I add a dependency to a Unity SDK project, any project that references that SDK must include the same dependency files.
In native Android app development, lets say I add the following dependency to my SDK project,
implementation 'com.google.code.gson:gson:2.8.6'
By using implementation, access to that dependency will not bubble up to Integrators of my native SDK. If they want to also use gson framework, they will have to include this dependency themselves to their own project. There are no issues with the Integrator including the same dependency that I have also included.
If I want to bubble up access of the dependency in my native SDK, I can add the dependency as api.
api 'com.google.code.gson:gson:2.8.6'
In this case, the Integrator won't need to add the same dependency to their own project, because they can access it from my SDK.
For Unity, whenever I create a project to use the Unity SDK, I am being forced to download the dependency files that are included in the SDK.
Is there any way to not force Integrators to download the files of the dependencies that are used in the Unity SDK?
Your answer
Follow this Question
Related Questions
Can't find which lib asks for READ_EXTERNAL_STORAGE (Android) - private photos etc 1 Answer
How to Prevent Dependency Download For Integrators of Unity SDK? 0 Answers
My first game published made with unity 0 Answers
How to Build for Android 4.0.3 with Unity? 0 Answers
I make Sniper FPS game and Android build it but it slow how i fix it 1 Answer