getsentry / sentry-java

A Sentry SDK for Java, Android and other JVM languages.
https://docs.sentry.io/
MIT License
1.16k stars 435 forks source link

Sources & JavaDoc variants are missing in Gradle's metadata #3784

Open AlexanderBartash opened 2 weeks ago

AlexanderBartash commented 2 weeks ago

Integration

sentry

Java Version

21

Version

7.15.0

Steps to Reproduce

Search for sources in https://repo1.maven.org/maven2/io/sentry/sentry/7.15.0/sentry-7.15.0.module it does not have it. An example of how it should be https://repo1.maven.org/maven2/org/junit/jupiter/junit-jupiter/5.11.2/junit-jupiter-5.11.2.module

Most likely because this is not called https://docs.gradle.org/current/javadoc/org/gradle/api/plugins/FeatureSpec.html#withJavadocJar() See also https://docs.gradle.org/current/userguide/java_plugin.html#packaging

Expected Result

The variants are missing.

Actual Result

The variants are present.

markushi commented 1 week ago

Thanks for contributing @AlexanderBartash, this makes a lot of sense. @romtsn any concerns around this?