sujithkanna / SmileyRating

SmileyRating is a simple rating bar for android. It displays animated smileys as rating icon.
Apache License 2.0
1.07k stars 183 forks source link

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. #73

Open Umesh-01 opened 2 years ago

Umesh-01 commented 2 years ago

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

image

@sujithkanna can you help me out??

meliksahcakirr commented 2 years ago

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") } } } }

kaliprasad24 commented 2 years ago

just use implementation instead of compile compile method is no longer available