Scripts I change will change when making a build. (Like build.gradle)

When I change the build.gradle script and gradle.properties, they revert back to the normal when I start making a build. If anyone can help, please do.

That’s expected, if you want to customize these files you need to use templates (which can be set in PlayerSettings->Publishing)

I have them all checked but Proguard. Do I need that?
8980717--1235530--upload_2023-4-28_16-55-27.png

No need to check them, but only the ones you want to override, there’s a path specified below, apply your changes directly in those files.

It’s still not working, and reverts when I make a build.

Are you making the change in a file Assets/Plugins/Android*.* ?

I’m doing build.gradle in Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary and gradle.properties in Library\Bee\Android\Prj\IL2CPP\Gradle.

If you want for your changes to persist, you need to change the contents of templates, which are inside your Unity project, in Assets/Plugins/Android folder