'setConfigSettings(FirebaseRemoteConfigSettings!): Unit' is deprecated : <p>After upgrading Firebase libraries to </p>

<pre><code>implementation "com.google.firebase:firebase-messaging:18.0.0"
implementation 'com.google.firebase:firebase-config:17.0.0'
implementation 'com.google.firebase:firebase-core:16.0.9'
</code></pre>

<p>and syncing Gradle, I got warning:</p>

<pre><code>'setConfigSettings(FirebaseRemoteConfigSettings!): Unit' is deprecated. Deprecated in Java
'setDeveloperModeEnabled(Boolean): FirebaseRemoteConfigSettings.Builder!' is deprecated. Deprecated in Java
</code></pre>

<p>in these lines:</p>

<pre><code>//Setting Developer Mode enabled to fast retrieve the values
firebaseRemoteConfig.setConfigSettings(
    FirebaseRemoteConfigSettings.Builder().setDeveloperModeEnabled(BuildConfig.DEBUG)
        .build())
</code></pre>
