glm icon indicating copy to clipboard operation
glm copied to clipboard

Issue when building with Github Actions

Open johanneslagos opened this issue 1 year ago • 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?

johanneslagos avatar Apr 14 '23 09:04 johanneslagos

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?

elect86 avatar Apr 18 '23 04:04 elect86

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

johanneslagos avatar Apr 19 '23 08:04 johanneslagos

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.

johanneslagos avatar Apr 19 '23 08:04 johanneslagos

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

johanneslagos avatar May 24 '23 12:05 johanneslagos

Try it on maven central (#35):

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

Bixilon avatar Jun 03 '23 21:06 Bixilon

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 `

johanneslagos avatar Aug 17 '23 08:08 johanneslagos

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

Bixilon avatar Oct 23 '23 15:10 Bixilon