Add a new feature and settings for Unity 2022.2+ in Android Resolver to enable patching Assets/Plugins/Android/settingsTemplate.gradle for Maven repository specified in Dependencies.xml. If Custom Main Gradle Template is in use, EDM4U will automatically generate on under Assets/Plugins/Android if not presented.
Adding two settings in Android Resolver settings to determine whether EDM4U inject custom local Maven repo path as a relative path or full path.
Before this settings, EDM4U has internal logic to always use full path when exporting project and relative path when not. Provide the new options so that the developers can choose to make it consistent or use full path to avoid certain Unity bugs.
Unfortunately Unity 2022.2.1 to 2022.2.9 does not support template variable like **DIR_UNITYPROJECT** in settingsTemplate.gradle. This is later patched in 2022.2.10. For anyone who is using 2022.2.1 to 2022.2.9, the workaround is always use full path.
2022.2+
in Android Resolver to enable patchingAssets/Plugins/Android/settingsTemplate.gradle
for Maven repository specified inDependencies.xml
. IfCustom Main Gradle Template
is in use, EDM4U will automatically generate on underAssets/Plugins/Android
if not presented.2022.2.1
to2022.2.9
does not support template variable like**DIR_UNITYPROJECT**
insettingsTemplate.gradle
. This is later patched in2022.2.10
. For anyone who is using2022.2.1
to2022.2.9
, the workaround is always use full path.Fixes #537 Fixes #594