Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue when building with Github Actions #27

Open
johanneslagos opened this issue Apr 14, 2023 · 7 comments
Open

Issue when building with Github Actions #27

johanneslagos opened this issue Apr 14, 2023 · 7 comments

Comments

@johanneslagos
Copy link

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?

@elect86
Copy link
Collaborator

elect86 commented Apr 18, 2023

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?

@johanneslagos
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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

@Bixilon
Copy link
Member

Bixilon commented Jun 3, 2023

Try it on maven central (#35):

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

@johanneslagos
Copy link
Author

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
`

@Bixilon
Copy link
Member

Bixilon commented Oct 23, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants