Circle CI runs build with different version of library than is declared in build.gradle

Hello everyone,

I have a problem with Circle CI builds. When I migrated my app to AndroidX packages, my builds don’t pass.

Problem is that Circle CI is using an older version of some libraries that I have declared in my build.gradle file

For example, in build.gradle file I have:

org.parceler:parceler-api:1.1.12
io.reactivex:rxjava:1.3.8

And when I ran android dependencies task on Circle CI, then Circle CI showing this version:

org.parceler:parceler-api:1.1.10
io.reactivex:rxjava:1.1.6

Older version of parceler broke a build. Local builds pass without problem (because I have a correct version)

Where is the problem?

I did clean of cache, I checked my configuration file. I don’t have any idea what I should do to fix it.

Update:

I checked content of build.gradle file which is using by Circle CI to build application - and this is different build.gradle file which I have on my project.