...
In that folder you will need to add 3 overrides to the Unity default gradle config , in for these files:
Custom Main Gradle Template
Custom Base Gradle Template
Custom Gradle Properties Template
To do it, go to player settings > player > android > Publishing settings > build
, you will need to then tick the 3 corresponding boxes like the screenshot below:
...