title: Warning after installing react-navigation in a react native project
body: <p>I'm new to React Native. I'm learning navigation, so I started with a brand new react native project and followed the steps on the React Navigation website (<a href="https://reactnavigation.org/docs/en/getting-started.html" rel="nofollow noreferrer">react navigation doc</a>) :</p>
  
  <p>1) <code>npm install --save react-navigation</code></p>
  
  <p>2) <code>npm install --save react-native-gesture-handler (not using expo)</code></p>
  
  <p>3) <code>react-native link react-native-gesture-handler</code></p>
  
  <p>4) Modify the <code>MainActivity.java</code> as the website says for Android</p>
  
  <p>Then, when I run the command <code>react-native run-android</code>, I see the app in my phone as expected but the following message appears:</p>
  
  <blockquote>
    <p>Configure project :app 
    WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
    It will be removed at the end of 2018. For more information see: <a href="http://d.android.com/r/tools/update-dependency-configurations.html" rel="nofollow noreferrer">http://d.android.com/r/tools/update-dependency-configurations.html</a></p>
    
    <p>Task :react-native-gesture-handler:compileDebugJavaWithJavac 
    Note: /home/ana/code/react native/seeCompileError/node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerButtonViewManager.java uses or overrides a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.</p>
  </blockquote>
  
  <p>I'm on Linux Mint 19 running the code on my physical Android phone.</p>
  
  <p>My build.gradle file:</p>
  
  <pre><code>// Top-level build file where you can add configuration options common to all sub-projects/modules.
  
  buildscript {
      ext {
          buildToolsVersion = "27.0.3"
          minSdkVersion = 16
          compileSdkVersion = 27
          targetSdkVersion = 26
          supportLibVersion = "27.1.1"
      }
      repositories {
          google()
          jcenter()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:3.1.4'
  
          // NOTE: Do not place your application dependencies here; they belong
          // in the individual module build.gradle files
      }
  }
  
  allprojects {
      repositories {
          mavenLocal()
          google()
          jcenter()
          maven {
              // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
              url "$rootDir/../node_modules/react-native/android"
          }
      }
  }
  
  
  task wrapper(type: Wrapper) {
      gradleVersion = '4.4'
      distributionUrl = distributionUrl.replace("bin", "all")
  }
  </code></pre>
  
  <p>My package.json file:</p>
  
  <pre><code>{
    "name": "seeCompileError",
    "version": "0.0.1",
    "private": true,
    "scripts": {
      "start": "node node_modules/react-native/local-cli/cli.js start",
      "test": "jest"
    },
    "dependencies": {
      "jwt-decode": "^2.2.0",
      "react": "16.6.3",
      "react-native": "0.57.8",
      "react-native-gesture-handler": "^1.0.12",
      "react-navigation": "^3.0.9",
      "react-redux": "^6.0.0",
      "redux": "^4.0.1",
      "redux-persist": "^5.10.0",
      "redux-thunk": "^2.3.0"
    },
    "devDependencies": {
      "babel-jest": "23.6.0",
      "jest": "23.6.0",
      "metro-react-native-babel-preset": "0.51.1",
      "react-test-renderer": "16.6.3"
    },
    "jest": {
      "preset": "react-native"
    }
  }
  </code></pre>
  
  <p>I would appreciate any hint or help, thank you.</p>