The Document of gradle publish describe that Depending on the metadata file format, publishing features may be loss if some config were lost. I found the generated maven xml label of optional would be lost if i publish package via ./gradlew publishAndReleaseToMavenCentral.
The Document of gradle publish describe that
Depending on the metadata file format, publishing features may be loss
if some config were lost. I found the generated maven xml label ofoptional
would be lost if i publish package via./gradlew publishAndReleaseToMavenCentral
.Expectation:
Fact:
My gradle setting is:
Is there some methods here to add the label of optional?