gradle-maven-publish-plugin: mavenPublish not found
I tried to change the default Sonatype host using this code snippet (in my build.gradle.kts):
allprojects {
plugins.withId("com.vanniktech.maven.publish") {
mavenPublish {
sonatypeHost = SonatypeHost.S01
}
}
}
However, both mavenPublish and sonatypeHost cannot be found.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 20 (4 by maintainers)
It works. Thank you so much. These has been a long few months. 🎉
IT’S WORKING!
It may have taken me 3 months, but it’s finally working.