Okta Gradle Dependency Not Found in CI Pipeline

We have integrated the following Okta libraries into our app

  implementation(platform('com.okta.kotlin:bom:1.0.0'))

    implementation('com.okta.kotlin:auth-foundation-bootstrap')
    implementation('com.okta.kotlin:web-authentication-ui')

The app compiles and we are able to log in via Okta. The issue starts once we push our work to Github and our ci pipeline fails with this error

Could not resolve com.okta.kotlin:bom:1.0.0.

We appreciate any help that anyone can provide.

Thanks.

Trying to add the Okta libraries to jitpack didn’t work:
https://jitpack.io/com/github/okta/okta-mobile-kotlin/1.0.0/build.log

My Gradle knowledge is limited as is working with GH CI.
From the log you attached I see,

Daemon will be stopped at the end of the build after running out of JVM memory
Expiring Daemon because JVM heap space is exhausted
Daemon is stopping immediately JVM garbage collector thrashing and after running out of JVM memory and after running out of JVM memory
FAILURE: Build failed with an exception.

* What went wrong:
Gradle build daemon has been stopped: JVM garbage collector thrashing and after running out of JVM memory and after running out of JVM memory

⚠️ ERROR: No build artifacts found
Expected artifacts in: $HOME/.m2/repository/com/okta/kotlin/web-authentication-ui/1.0.0

Is the reason for no artifacts found due to the above build failure?

That’s the log from Jitpack.io where I tried to publish the Okta libraries to their repository. It’s an alternative to Maven.

Not sure why it runs out of memory.

I do wonder if Jitpack is getting hung up on the fact that the Okta libraries are part a a multi-module Android project.

Maybe the Okta publishers need to follow these steps??