Modifying gradle.properties through UPl

Hello everyone.
so basically gradle.properties file for android packaging is generated each time packaging is initiated.
I need to add a proxy to my gradle.properties which as I searched should be done by UPL located at Engine\Source\Programs\UnrealBuildTool\System\UnrealPluginLanguage.cs
I uncommented the line related to gradle properties and modified it to look like this:
<gradleProperties>
<insert>
systemProp.http.proxyHost=127.0.0.1
systemProp.http.proxyPort=10809
systemProp.https.proxyHost=127.0.0.1
systemProp.https.proxyPort=10809
</insert>
</gradleProperties>

But after I initiate the packaging process, these lines are not inserted to the gradle.properties file located at \Intermediate\Android\arm64\gradle\gradle.properties
What am I missing here?
Thanks in advance

2 Likes