Error :“Configuration 'compile' is obsolete and has been replaced with 'implementation'.”, even though no 'compile' present in gradle

后端 未结 6 548
离开以前
离开以前 2021-01-11 14:31

I have the following gradle files and I can\'t find anything which would still warrant the warning \"Configuration \'compile\' is obsolete and has been replace

6条回答
  •  一整个雨季
    2021-01-11 15:23

    The problem lies in apply plugin: 'com.google.gms.google-services'

    The Google Services plugin is adding a dependency on behalf of you. Hopefully they fix it in the future.

    I copy answer from below stackoverflow link. https://stackoverflow.com/a/49059867/4782538. Thanks @Niklas for answer.

提交回复
热议问题