Open Jadyli opened 3 months ago
After debugging, I found that the error occurred in org/jetbrains/kotlin/gradle/plugin/mpp/Publishing#rewritePom
. Whether the generated POM is rewritten is controlled by kotlin.mpp.keepMppDependenciesIntactInPoms
. So, for now, I disabled it in gradle.properties
, and then publishing the module to Maven worked fine.
kotlin.mpp.keepMppDependenciesIntactInPoms=true
Updated to Kotlin 2.0.0 and encountered an error with Maven Publish. The configuration hasn't changed, using version 0.29.0.