如何更正警告 "Drive.API is deprecated"?

How can I correct the warning "Drive.API is deprecated"?

这是我创建一个 GoogleApiClient 实例的代码,该实例与 Google Drive 服务连接:

mGoogleApiClient = new GoogleApiClient.Builder(this)
            .enableAutoManage(this /* FragmentActivity */, this /* 
                OnConnectionFailedListener */)

            .addApi(Auth.GOOGLE_SIGN_IN_API, gso)
            .addApi(Drive.API)
            .addScope(Drive.SCOPE_FILE)

            .build();

implementation 'com.google.android.gms:play-services-auth:15.0.0'
implementation 'com.google.android.gms:play-services-drive:15.0.0'

我收到警告

'API' 已弃用

如何防止出现此警告?

已弃用 Google 驱动器 API 的全局答案 具有适当的文档链接

感谢@Arshad 和@noogui