iyegoroff/react-native-text-gradient

A problem occurred evaluating project ':app'. > Could not find method compile() for arguments [project ':react-native-text-gradient'] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

frankelly001 opened this issue · 1 comments

After Inserting the following lines inside the dependencies block in android/app/build.gradle:

compile project(':react-native-text-gradient')

am get this error message below when am trying to for andriod app

A problem occurred evaluating project ':app'. >
Could not find method compile() for arguments [project ':react-native-text-gradient'] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

I think still with the same issue
A problem occurred evaluating root project 'lineargradient'.

Could not find method compile() for arguments [project ':react-native-text-gradient'] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

After Inserting the following lines inside the dependencies block in android/app/build.gradle:
compile project(':react-native-text-gradient')