Jacob Ras
11/09/2023, 4:56 PMiosSimulatorArm64
artifact, even though it exists in https://repo.maven.apache.org/maven2/nl/jacobras/human-readable-iossimulatorarm64/. Instead, it's searching in this general folder https://repo.maven.apache.org/maven2/nl/jacobras/human-readable/ but that one only has 1.0.0 and 1.1.0 (which I made on my pc) and not 1.1.1 and 1.1.2 (which I made through GH Actions). Here's the build.gradle for my library: https://github.com/jacobras/Human-Readable/blob/1.1.2/build.gradle.kts Any help would be appreciated.
Why is deploying a library to Maven Central such rocket science? 😔Jacob Ras
11/09/2023, 4:57 PMJeff Lockhart
11/09/2023, 5:02 PMCLOVIS
11/09/2023, 5:02 PMJacob Ras
11/09/2023, 5:55 PMvanniktech
one. This plugin and particularly this docs page is so clear: https://vanniktech.github.io/gradle-maven-publish-plugin/central/. If only I found it weeks ago! I now no longer have to deal with that horrible Sonatype UI too.
Unfortunately, I still get this error:Jacob Ras
11/09/2023, 5:56 PMJacob Ras
11/09/2023, 6:02 PMhuman-readable
and then didn't include that dash in the dependency when trying to use it.. 🙄 Now it works.
But, thanks to that gradle-maven-publish-plugin
I no longer have that duplicate staging repository issue and the build logic is a lot simpler. Finally I can code again! 🫠CLOVIS
11/09/2023, 6:33 PMFinally I can code again!I went through the same a few months ago, I know the feeling all too well 🫠
Jacob Ras
11/09/2023, 6:33 PMCLOVIS
11/09/2023, 6:34 PMmaven-publish
directly 😅