I trying to publish a KMM library to codeArtifact ...
# multiplatform
o
I trying to publish a KMM library to codeArtifact but the publishing handler function in kotlin DSL not available and it is specified in the gradle documentation here https://docs.gradle.org/current/samples/sample_publishing_credentials.html Please what could cause this?
k
I think
publishing
is from the maven-publish library
do you have
maven-publish
plugin added?
Copy code
// module/build.gradle.kts

plugins {
    <other plugins>
    ...

    id("maven-publish")
}
Thanks, @a-dd
đź§µ
o
Ye it’s added
I have actually resolved it
By invalidating and restarting