https://kotlinlang.org logo
#arrow-contributors
Title
# arrow-contributors
a

Arkadii Ivanov

02/20/2020, 5:48 PM
I'm trying to move my PR to the new
arrow-fx
repo. I can't add the Reaktive dependencies because of the following error:
Copy code
A problem occurred configuring project ':arrow-fx-reaktive'.
> Could not resolve all files for configuration ':arrow-fx-reaktive:runtimeClasspath'.
   > Could not resolve com.badoo.reaktive:reaktive-jvm:"1.1.10".
     Required by:
         project :arrow-fx-reaktive
      > Could not resolve com.badoo.reaktive:reaktive-jvm:"1.1.10".
         > Could not get resource '<https://oss.jfrog.org/artifactory/oss-snapshot-local/com/badoo/reaktive/reaktive-jvm/%221.1.10%22/reaktive-jvm-%221.1.10%22.pom>'.
            > Could not GET '<https://oss.jfrog.org/artifactory/oss-snapshot-local/com/badoo/reaktive/reaktive-jvm/%221.1.10%22/reaktive-jvm-%221.1.10%22.pom>'. Received status code 409 from server:
In the old repo it is resolved fine. Changing order of the declared maven repositories does not help. The following trick does not help as well:
Copy code
maven {
            url "<https://oss.jfrog.org/artifactory/oss-snapshot-local/>"
            content {
                excludeGroup "com.badoo.reaktive"
            }
        }
Do someone have any suggestions?
r

Rachel

02/20/2020, 6:06 PM
Hi @Arkadii Ivanov, that's a new dependency for
arrow-fx-reaktive
so a
repositories
section should be added in the
arrow-fx-reaktive/build.gradle
For instance:
arrow-benchmarks-fx
it uses a dependency that requires JitPack.io
So it includes
repositories
section with that repository:
a

Arkadii Ivanov

02/20/2020, 6:08 PM
Yeah, tried this. The error is same
r

Rachel

02/20/2020, 6:09 PM
Please, could you share the repository? And I can take a look at it
Or the branch...
a

Arkadii Ivanov

02/20/2020, 6:10 PM
Looks like there is a problem with the
Copy code
<https://oss.jfrog.org/artifactory/oss-snapshot-local/>
repository
Previous arrow repo did not use this and it worked fine
r

Rachel

02/20/2020, 6:11 PM
However, now we should use it because of finding the external arrow dependencies
Please, where can I find your source code?
a

Arkadii Ivanov

02/20/2020, 6:12 PM
I understand. Then I can't add the Reaktive module. Can't find a way to add the dependency.
r

Rachel

02/20/2020, 6:12 PM
We'll find the way! Please, where can I find your source code?
I can help you
a

Arkadii Ivanov

02/20/2020, 6:15 PM
r

Rachel

02/20/2020, 6:15 PM
Great, thank you!!
👍 1
I think it's a problem with the way of indicating the version
Look at the error:
Copy code
Could not resolve com.badoo.reaktive:reaktive-jvm:"1.1.10"
instead of:
Copy code
Could not resolve com.badoo.reaktive:reaktive-jvm:1.1.10
and the same with:
Copy code
...com/badoo/reaktive/reaktive-jvm/%221.1.10%22/reaktive-jvm-%221.1.10%22.pom'
Please, change:
Copy code
REAKTIVE_VERSION = "1.1.10"
by:
Copy code
REAKTIVE_VERSION=1.1.10
a

Arkadii Ivanov

02/20/2020, 6:29 PM
Arghh
r

Rachel

02/20/2020, 6:29 PM
It should fix it
a

Arkadii Ivanov

02/20/2020, 6:29 PM
Thanks, my fault
r

Rachel

02/20/2020, 6:29 PM
Don't worry @Arkadii Ivanov
👍 1
Happy to help you
Thanks for your contributions!!
4 Views