Publishing can be handled in very simple cases (eg publishing a Kotlin project to a local Maven repo) with the Kotlin DSL, however it falls apart when trying to publish a Kotlin multi-platform project. Looking to file an issue on Kotlin multi-platform project publishing support if there isn't one in the Issue Tracker.