kotlin-multiplatform-template icon indicating copy to clipboard operation
kotlin-multiplatform-template copied to clipboard

Gradle build GET 502 error

Open MarcinMoskala opened this issue 6 years ago • 1 comments

I got the following error during Gradle build:

Could not GET Received status code 502 from server: <LibName> Bad Gateway

The solution was to add maven { url "https://maven.google.com" } in project-level:

buildscript {
    repositories {
        google()
        maven { url "https://maven.google.com" }
        //...
    }
    //...
}

There might be some info about it.

MarcinMoskala avatar Aug 22 '19 10:08 MarcinMoskala

Thanks for the report! Interesting, let me check if it's something related to the Gradle version. It's green in CI re-runs 🤔

wiyarmir avatar Sep 03 '19 13:09 wiyarmir