connect-kotlin
connect-kotlin copied to clipboard
Sources can't be downloaded by IDEA Android Studio / Intellij
Background:
I see that this project is using https://github.com/vanniktech/gradle-maven-publish-plugin. This should publish sources.
I see that com.connectrpc:connect-kotlin-okhttp:0.6.1 is published on mavenCentral() here https://central.sonatype.com/artifact/com.connectrpc/connect-kotlin-okhttp.
I have checked https://search.maven.org/artifact/com.connectrpc/connect-kotlin-okhttp/0.6.1/jar and https://repo1.maven.org/maven2/com/connectrpc/connect-kotlin-okhttp/0.6.1/ and sources are published.
See this link https://repo1.maven.org/maven2/com/connectrpc/connect-kotlin-okhttp/0.6.1/connect-kotlin-okhttp-0.6.1-sources.jar.
Error / Repro:
When I try to use the IDE to manually download the sources I see the following error:
Task 'ijDownloadSources18f23d87-b7a' not found in root project 'android-gif-search' and its subprojects.
* Try:
> Run gradle tasks to get a list of available tasks.
> For more on name expansion, please refer to https://docs.gradle.org/8.7/userguide/command_line_interface.html#sec:name_abbreviation in the Gradle documentation.
> 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 163ms
or image:
I see the same when stepping into the code for debugging and I click on "Download Source":
Going forward:
Is this an IDE problem or the way the sources are being published?