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

Update Installation in README file #11

Open
SaraAshrafSelim opened this issue Apr 19, 2022 · 0 comments
Open

Update Installation in README file #11

SaraAshrafSelim opened this issue Apr 19, 2022 · 0 comments

Comments

@SaraAshrafSelim
Copy link

I was trying to use the sdk but found out that the gradle Dependency in the read me file is outdated for Gradle and the Repository link is insecure and I get these errors :

1 - “Could not resolve all dependencies for configuration ':detachedConfiguration4'.
Using insecure protocols with repositories, without explicit opt-in, is unsupported. Switch Maven repository 'maven(http://maven.yapily.com/)' to redirect to a secure protocol (like HTTPS) or allow insecure protocols”

2- A problem occurred evaluating root project

Could not find method compile() for arguments [{group=yapily, name=yapily-sdk, version=1.347.0}] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

my project config:
spring version: 2.6.6
java version: 11
gradle version: gradle-7.4.1
when running command : “gradle build”

I found a solution by updating the url to https and for the Dependency I used implementation 'yapily:yapily-sdk:1.347.0'

Is there any other way of handling this error if not please update the readme file with the correct configuration

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

1 participant