React-native-vector-icons: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'

Created on 1 Jun 2018  路  3Comments  路  Source: oblador/react-native-vector-icons

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: http://d.android.com/r/tools/update-dependency-configurations.html

compileSdkVersion 27
buildToolsVersion "27.0.3"

Most helpful comment

After a year, can we have an update of this module implementation please ?
Each time we install our node modules, we have to update this module to manually.

All 3 comments

To get rid of this error, modify the build.gradle file of the react-native-vector-icons module.

dependencies {
    //noinspection GradleDynamicVersion
    provided "com.facebook.react:react-native:${_reactNativeVersion}"
}

Becomes:

dependencies {
    //noinspection GradleDynamicVersion
    compileOnly "com.facebook.react:react-native:${_reactNativeVersion}"
}

There may be more of these errors throughout all of your plugins (and even in the build.gralde file of your React Native app.)

After a year, can we have an update of this module implementation please ?
Each time we install our node modules, we have to update this module to manually.

Would the maintainer of this repo accept a PR that fixes that?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

reactor123 picture reactor123  路  3Comments

arjs1000 picture arjs1000  路  3Comments

toddmetheny picture toddmetheny  路  4Comments

tharrington picture tharrington  路  4Comments

jszcl picture jszcl  路  3Comments