SmileyRating
SmileyRating copied to clipboard
Could not find method compile() for arguments [com.github.sujithkanna:smileyrating:2.0.0] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
Description
I am getting this error during gradle build process...
Could not find method compile() for arguments [com.github.sujithkanna:smileyrating:2.0.0] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
Screenshot
@sujithkanna can you help me out??
you probably remove the jcenter from your repositories. Until the author moves the library to mavenCentral, we can use the following code:
allprojects { repositories { // ... jcenter() { content { includeModule("com.github.sujithkanna", "smileyrating") } } } }
just use implementation instead of compile compile method is no longer available