How to Remove OnlineSubsystemGooglePlay Module (UE5.4.4)

Hello,

I am a mobile SDK developer currently working with Unreal Engine 5.4.4.

I am using separate Google service products and libraries, which are not compatible with the Google service products used by the built-in OnlineSubsystemGooglePlay in Unreal Engine.

Could you please guide me on how to remove OnlineSubsystemGooglePlay from my project?

Thank you.

Specifically, the problematic files are:

*Engine/Plugins/Online/Android/OnlineSubsystemGooglePlay/Source/Java/com/epicgames/unreal/GooglePlayGamesWrapper.java

Even though I commented out the following lines in the OnlineSubsystemGooglePlay.Build.cs file, the .java file is still being included

//string PluginPath = Utils.MakePathRelativeTo(ModuleDirectory, Target.RelativeEnginePath);
//AdditionalPropertiesForReceipt.Add(“AndroidPlugin”, Path.Combine(PluginPath, “OnlineSubsystemGooglePlay_UPL.xml”));