build: relax constraints of Selenium dependencies versions by valfirst · Pull Request #1606 · appium/java-client

SrinivasanTarget

@valfirst valfirst changed the title build: do not mark selenium dependencies versions as strict build: relax constraints of Selenium dependencies versions

Dec 3, 2021

mykola-mokhnach

mykola-mokhnach

mykola-mokhnach

@valfirst

https://docs.gradle.org/current/userguide/dependency_downgrade_and_exclude.html: "conflicting strict dependencies will trigger a build failure that you have to resolve".

An attempt to use `java-client:8.0.0-beta` in conjunction with Selenium 4.1.0 leads to build failures, like:
```
   > Could not resolve org.seleniumhq.selenium:selenium-remote-driver:{strictly 4.0.0}.
     Required by:
         project :xxxxxxx > io.appium:java-client:8.0.0-beta
```
In a favor of flexibility the constraints of selenium dependencies versions are relaxed.

@mykola-mokhnach mykola-mokhnach deleted the do-not-mark-selenium-dependencies-versions-as-strict branch

December 3, 2021 16:58