title: Could not find method implementation() for arguments [android.arch.lifecycle:extensions:1.1.1]
body: <pre><code>&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      package="com.uiyoutube"&gt;
      &lt;uses-sdk
          tools:overrideLibrary="com.uiyoutube, com.pierfrancescosoffritti.androidyoutubeplayer" /&gt;
      &lt;application android:allowBackup="false" tools:replace="android:allowBackup"/&gt;
  &lt;/manifest&gt;
  </code></pre>
  
  <p>I tried implements <code>LifecycleOwner</code>.</p>
  
  <p>So I imported:</p>
  
  <pre><code>import android.arch.lifecycle.Lifecycle;
  import android.arch.lifecycle.LifecycleOwner;
  </code></pre>
  
  <p>I had to:</p>
  
  <pre><code>@Override
   public Lifecycle getLifecycle () {
       return null;
   }
  </code></pre>
  
  <blockquote>
    <p>Could not resolve all dependencies for configuration ':app:_debugApkCopy'.</p>
    
    <p>Could not find android.arch.lifecycle:extensions:1.1.1.</p>
    
    <p>Required by:</p>
    
    <p>ProvaMaterialModule:app:unspecified > ProvaMaterialModule:react-native-material-letter-icon:unspecified</p>
  </blockquote>
  
  <pre><code>buildscript {
      repositories {
          jcenter()
          maven { url 'https://maven.google.com' }
      }
  
      dependencies {
          classpath 'com.android.tools.build:gradle:3.1.3'
      }
  }
  
  apply plugin: 'com.android.library'
  
  android {
      compileSdkVersion 27
      buildToolsVersion "27.0.3"
  
      defaultConfig {
          minSdkVersion 16
          targetSdkVersion 27
          versionCode 1
          versionName "1.0"
      }
      lintOptions {
          abortOnError false
      }
  }
  
  repositories {
      jcenter()
      mavenCentral()
      maven { url "https://maven.google.com" }
  }
  
  allprojects {
      repositories {
          jcenter()
          maven { url 'https://maven.google.com' }
      }
  }
  
  dependencies {
      def lifecycle_version = "1.1.1"
  
      // ViewModel and LiveData
      compile "android.arch.lifecycle:extensions:$lifecycle_version"
  
      compile  'com.pierfrancescosoffritti.androidyoutubeplayer:core:8.0.1'
      compile  'com.facebook.react:react-native:+'
  }
  </code></pre>
  
  <p>I tried to replace <code>compile</code> with 
  <code>implementation "android.arch.lifecycle:extensions:$lifecycle_version"</code></p>
  
  <p>but I get the following error:</p>
  
  <pre><code>Could not find method implementation() for arguments [android.arch.lifecycle:extensions:1.1.1] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependenc
  yHandler.
  </code></pre>
  
  <p>Some advice?</p>