How do I reduce the number of files generated by t...
# gradle
m
How do I reduce the number of files generated by the publish task?
p
Why would you like to reduce the number of files?
m
Well, the only required files would be the main jar/pom/xml files, the .module and .json files seem to be unnecessary compared to regular uploads.
This is what most other releases have
though that was done with a mavenJava task in a java-only project, whereas in my question I used the solution for multiplatform releases in the docs
h
Gradle publishes useful metadata to distinguish between the different variants. You should keep them.
m
isn't all the necessary metadata in the pom files?
h
pom is Maven (java) only. Gradle allows more variants, eg debug/productive variants, or different jvm/multiplatform targets.
m
well yeah but the multiplatform targets get different folders
message has been deleted
n
The metadata is required for the Kotlin Native targets.
a
https://github.com/Kotlin/kotlinx.coroutines/issues/3158 Here you can see the answer about kotlin-tooling-metadata.json