Skip to content

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

@AlexanderBartash

Description

@AlexanderBartash

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugIssue type
    No fields configured for issues without a type.

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions