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

Error when building: Could not find com.squareup.retrofit2:retrofit:2.9.0-20200516.175725-14. #18

Open
dturner opened this issue Jun 4, 2020 · 1 comment

Comments

@dturner
Copy link

dturner commented Jun 4, 2020

Steps to repro:

./gradlew buildPlugin

Expected outcome:

Plugin is built without error

Actual outcome:

Build fails with the following error:

$ ./gradlew buildPlugin

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':ideplugin:prepareSandbox'.
> Could not resolve all files for configuration ':ideplugin:runtimeClasspath'.
   > Could not find com.squareup.retrofit2:retrofit:2.9.0-20200516.175725-14.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/squareup/retrofit2/retrofit/2.9.0-SNAPSHOT/retrofit-2.9.0-20200516.175725-14.pom
       - https://dl.google.com/dl/android/maven2/com/squareup/retrofit2/retrofit/2.9.0-SNAPSHOT/retrofit-2.9.0-20200516.175725-14.jar
       - https://jcenter.bintray.com/com/squareup/retrofit2/retrofit/2.9.0-SNAPSHOT/retrofit-2.9.0-20200516.175725-14.pom
       - https://jcenter.bintray.com/com/squareup/retrofit2/retrofit/2.9.0-SNAPSHOT/retrofit-2.9.0-20200516.175725-14.jar
       - https://oss.sonatype.org/content/repositories/snapshots/com/squareup/retrofit2/retrofit/2.9.0-SNAPSHOT/retrofit-2.9.0-20200516.175725-14.pom
       - https://oss.sonatype.org/content/repositories/snapshots/com/squareup/retrofit2/retrofit/2.9.0-SNAPSHOT/retrofit-2.9.0-20200516.175725-14.jar
       - https://cache-redirector.jetbrains.com/www.jetbrains.com/intellij-repository/releases/com/squareup/retrofit2/retrofit/2.9.0-SNAPSHOT/retrofit-2.9.0-20200516.175725-14.pom
       - https://cache-redirector.jetbrains.com/www.jetbrains.com/intellij-repository/releases/com/squareup/retrofit2/retrofit/2.9.0-SNAPSHOT/retrofit-2.9.0-20200516.175725-14.jar
       - file:/Users/donturner/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.idea/ideaIC/2020.1.1/640aff4c23a001e5595ee654670d774e9efcd118/ideaIC-2020.1.1/com.squareup.retrofit2/retrofit/2.9.0-20200516.175725-14/ivy-2.9.0-20200516.175725-14.xml
       - file:/Users/donturner/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.idea/ideaIC/2020.1.1/640aff4c23a001e5595ee654670d774e9efcd118/ideaIC-2020.1.1/retrofit-2.9.0-20200516.175725-14-withSources.xml
       - file:/Users/donturner/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.idea/ideaIC/2020.1.1/640aff4c23a001e5595ee654670d774e9efcd118/ideaIC-2020.1.1/com.squareup.retrofit2/retrofit/2.9.0-20200516.175725-14/retrofit-2.9.0-20200516.175725-14.jar
       - file:/Users/donturner/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.idea/ideaIC/2020.1.1/640aff4c23a001e5595ee654670d774e9efcd118/ideaIC-2020.1.1/retrofit.jar
       - https://cache-redirector.jetbrains.com/plugins.jetbrains.com/maven/com/squareup/retrofit2/retrofit/2.9.0-SNAPSHOT/retrofit-2.9.0-20200516.175725-14.pom
       - https://cache-redirector.jetbrains.com/plugins.jetbrains.com/maven/com/squareup/retrofit2/retrofit/2.9.0-SNAPSHOT/retrofit-2.9.0-20200516.175725-14.jar
       - file:/Users/donturner/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.idea/com.squareup.retrofit2/retrofit-2.9.0-20200516.175725-14.xml
       - file:/Users/donturner/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.idea/ideaIC/2020.1.1/640aff4c23a001e5595ee654670d774e9efcd118/ideaIC-2020.1.1/plugins/retrofit/retrofit.jar
       - file:/Users/donturner/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.idea/retrofit-2.9.0-20200516.175725-14/retrofit.jar
       - file:/Users/donturner/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.idea/ideaIC/2020.1.1/d092ba8a07e6044aac4045a9616ecd0b143eb9fb/retrofit-2020.1.1.jar
     Required by:
         project :ideplugin
   > Could not find com.squareup.retrofit2:retrofit:2.9.0-20200516.175725-14.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/squareup/retrofit2/retrofit/2.9.0-SNAPSHOT/retrofit-2.9.0-20200516.175725-14.pom
       - https://dl.google.com/dl/android/maven2/com/squareup/retrofit2/retrofit/2.9.0-SNAPSHOT/retrofit-2.9.0-20200516.175725-14.jar
       - https://jcenter.bintray.com/com/squareup/retrofit2/retrofit/2.9.0-SNAPSHOT/retrofit-2.9.0-20200516.175725-14.pom
       - https://jcenter.bintray.com/com/squareup/retrofit2/retrofit/2.9.0-SNAPSHOT/retrofit-2.9.0-20200516.175725-14.jar
       - https://oss.sonatype.org/content/repositories/snapshots/com/squareup/retrofit2/retrofit/2.9.0-SNAPSHOT/retrofit-2.9.0-20200516.175725-14.pom
       - https://oss.sonatype.org/content/repositories/snapshots/com/squareup/retrofit2/retrofit/2.9.0-SNAPSHOT/retrofit-2.9.0-20200516.175725-14.jar
       - https://cache-redirector.jetbrains.com/www.jetbrains.com/intellij-repository/releases/com/squareup/retrofit2/retrofit/2.9.0-SNAPSHOT/retrofit-2.9.0-20200516.175725-14.pom
       - https://cache-redirector.jetbrains.com/www.jetbrains.com/intellij-repository/releases/com/squareup/retrofit2/retrofit/2.9.0-SNAPSHOT/retrofit-2.9.0-20200516.175725-14.jar
       - file:/Users/donturner/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.idea/ideaIC/2020.1.1/640aff4c23a001e5595ee654670d774e9efcd118/ideaIC-2020.1.1/com.squareup.retrofit2/retrofit/2.9.0-20200516.175725-14/ivy-2.9.0-20200516.175725-14.xml
       - file:/Users/donturner/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.idea/ideaIC/2020.1.1/640aff4c23a001e5595ee654670d774e9efcd118/ideaIC-2020.1.1/retrofit-2.9.0-20200516.175725-14-withSources.xml
       - file:/Users/donturner/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.idea/ideaIC/2020.1.1/640aff4c23a001e5595ee654670d774e9efcd118/ideaIC-2020.1.1/com.squareup.retrofit2/retrofit/2.9.0-20200516.175725-14/retrofit-2.9.0-20200516.175725-14.jar
       - file:/Users/donturner/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.idea/ideaIC/2020.1.1/640aff4c23a001e5595ee654670d774e9efcd118/ideaIC-2020.1.1/retrofit.jar
       - https://cache-redirector.jetbrains.com/plugins.jetbrains.com/maven/com/squareup/retrofit2/retrofit/2.9.0-SNAPSHOT/retrofit-2.9.0-20200516.175725-14.pom
       - https://cache-redirector.jetbrains.com/plugins.jetbrains.com/maven/com/squareup/retrofit2/retrofit/2.9.0-SNAPSHOT/retrofit-2.9.0-20200516.175725-14.jar
       - file:/Users/donturner/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.idea/com.squareup.retrofit2/retrofit-2.9.0-20200516.175725-14.xml
       - file:/Users/donturner/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.idea/ideaIC/2020.1.1/640aff4c23a001e5595ee654670d774e9efcd118/ideaIC-2020.1.1/plugins/retrofit/retrofit.jar
       - file:/Users/donturner/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.idea/retrofit-2.9.0-20200516.175725-14/retrofit.jar
       - file:/Users/donturner/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.idea/ideaIC/2020.1.1/d092ba8a07e6044aac4045a9616ecd0b143eb9fb/retrofit-2020.1.1.jar
     Required by:
         project :ideplugin > com.jakewharton.retrofit:retrofit2-kotlinx-serialization-converter:0.4.0

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

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

BUILD FAILED in 8s

@DigitalTensionExperiment

Any solutions on this?

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

2 participants