wiyarmir / kotlin-multiplatform-template

Ready to go template for multiplatform Kotlin
Apache License 2.0
222 stars 18 forks source link

Gradle build GET 502 error #2

Open MarcinMoskala opened 5 years ago

MarcinMoskala commented 5 years ago

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.

wiyarmir commented 5 years ago

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