Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 this issue Sep 28, 2021 · 2 comments

Comments

@Umesh-01
Copy link

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
Copy link

meliksahcakirr commented Nov 9, 2021

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants