arrow-kt / ank

ΛNK: Compile time docs verification and evaluation for Kotlin and Java (Temporarily moved to Arrow-kt)
https://github.com/arrow-kt/arrow/tree/master/modules/ank
Apache License 2.0
53 stars 3 forks source link

gradle build fails with "Received status code 401 from server: Unauthorized" #22

Closed holgerbrandl closed 6 years ago

holgerbrandl commented 6 years ago
[ank]$ gradle build

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':ank-core'.
> Could not resolve all files for configuration ':ank-core:kapt'.
   > Could not resolve io.kategory:kategory-annotations-compile:0.3.7.
     Required by:
         project :ank-core
      > Could not resolve io.kategory:kategory-annotations-compile:0.3.7.
         > Could not get resource 'https://jitpack.io/io/kategory/kategory-annotations-compile/0.3.7/kategory-annotations-compile-0.3.7.pom'.
            > Could not GET 'https://jitpack.io/io/kategory/kategory-annotations-compile/0.3.7/kategory-annotations-compile-0.3.7.pom'. Received status code 401 from server: Unauthorized

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 4s
pakoito commented 6 years ago

It failed to resolve the artifact for Kategory. We're not in jitpack anymore, that needs to be corrected!

Could you please apply this change to your build files: maven { url 'https://dl.bintray.com/kategory/maven' }

(from this PR https://github.com/kategory/kategory/pull/429/files)

pakoito commented 6 years ago

@holgerbrandl is this still an issue?

holgerbrandl commented 6 years ago

Thanks for looking into it. I've tried again, and now it fails with "SDK location not found" because I have no Android SDK, which seems more a flaw on my end.

pakoito commented 6 years ago

👍 do you mind if I close it?

holgerbrandl commented 6 years ago

Sure, thanks for your kind support