Skip to content

Update Installation in README file #11

Description

@SaraAshrafSelim

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions