'Android Studio Bumblebee android.arch.lifecycle:extensions implementation

i updated android studio and build.gradle changed. In old versions, I was able to add like:

dependencies {
def lifeCycleExtensionVersion = '1.1.1'    
implementation "android.arch.lifecycle:extensions:$lifeCycleExtensionVersion"}

But now i am getting error how can i add



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source