kotlin-graphics/glm

Issue when building with Github Actions

johanneslagos opened this issue · 7 comments

Hi.
I have an android app where I have a module where your library has been used for a long time.
However, lately the build started broken, but just on github actions. The build server is complaining about this:
Could not find com.github.kotlin-graphics:kotlin-unsigned:fe71d56d019682d0ebdafd5486f589dfce87d2b2. Required by: project :library-weather-visualization > com.github.kotlin-graphics:glm:0.10

Any clue about how to make it work? Could it be that github change of SSH key is the problem here?

Hi Johannes,

in the past I was relying on Jitpack, somewhere like more than a year ago I dropped it because of multiple limitation and issues (like rewriting on its own the POMs). In addition, I saw, in more recent times, it started going offline from time to time. I have no idea if it also started deleting older packages, but I'd guess your issue has definitely something to do with Jitpack.

Can you refresh the dependencies?

I still have the issue.
Added also jitpack to my gradle file.
The error I get is:

> Could not find com.github.kotlin-graphics:kotlin-unsigned:fe71d56d019682d0ebdafd5486f589dfce87d2b2.
    Searched in the following locations:
      - https://oss.sonatype.org/content/repositories/snapshots/com/github/kotlin-graphics/kotlin-unsigned/fe71d56d019682d0ebdafd5486f589dfce87d2b2/kotlin-unsigned-fe71d56d019682d0ebdafd5486f589dfce87d2b2.pom
      - https://zendesk.jfrog.io/zendesk/repo/com/github/kotlin-graphics/kotlin-unsigned/fe71d56d019682d0ebdafd5486f589dfce87d2b2/kotlin-unsigned-fe71d56d019682d0ebdafd5486f589dfce87d2b2.pom
    Required by:
        project :platform-mobile > project :library-weather-visualization > com.github.kotlin-graphics:glm:0.10

The strange is that locally on my own machine I have no issue. Is only on github actions it appear, and not allow to build the project, and it only started to appear lately. HAven't had the problem until a few days ago.

Btw, my build.gradle looks like this
dependencies { implementation 'com.github.kotlin-graphics:glm:0.10' }

Try it on maven central (#35):

dependencies { implementation 'io.github.kotlin-graphics:glm:0.9.9.1-11' }

Try it on maven central (#35):

dependencies { implementation 'io.github.kotlin-graphics:glm:0.9.9.1-11' }

I changed it to that address, but now I get this error
` Could not resolve all files for configuration ':library-weather-visualization:debugCompileClasspath'.

Could not find kotlin.graphics:unsigned:3.3.32.
Required by:
project :library-weather-visualization > io.github.kotlin-graphics:glm:0.9.9.1-11
Could not find kotlin.graphics:kool:0.9.77.
Required by:
project :library-weather-visualization > io.github.kotlin-graphics:glm:0.9.9.1-11
`

Can you try it with dependencies { implementation 'io.github.kotlin-graphics:glm:0.9.9.1-12' } The new build fixes this issue.