question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to run publishToMavenLocal when pulling in uuid library as a dependency

See original GitHub issue

Hey Ben, hope you are doing well!

I’ve been attempting to fix our internal publishing task, which seems to be broken because uuid5Of cannot be resolved and the build fails on compileIosMainKotlinMetadata. It isn’t repo specific, and I’ve uploaded a playground project where running publishToMavenLocal fails with the same error.

ExpectActualPlayground.zip

It looks to be related to how the shared source sets are setup for the iOS target. If I remove support for everything apple but ios and simplify the source sets down to only iosMain (remove nonJvmMain and nativeMain), it seems to work just fine.

Simplified Uuid with jvm() and ios() targets

Not sure if you have any thoughts/pointers/suggestions on this. Cheers!

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:22 (22 by maintainers)

github_iconTop GitHub Comments

1reaction
C2H6Ocommented, Oct 17, 2022

Okay, no worries. Thanks for all the suggestions, really appreciate it!

1reaction
benasher44commented, Oct 17, 2022

Oh wait. Maybe there’s a publish step this library is missing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

jar file is not getting generated in maven local repository after ...
I am trying to get a jar generated so I can use it as a dependency for a different project. In ...
Read more >
Maven Repository and how to publish libraries locally on your ...
Use the appropriate extension of the dependency. Depending on how is the publication of the artifact of your library you may need to...
Read more >
Dev mode failing to compile changes on external JAR ...
I know that Quarkus dev mode can reloads a multi-module Maven project, but as sayed before, my business library cannot be compiled on...
Read more >
thrift Changelog - pyup.io
[THRIFT-5495](https://issues.apache.org/jira/browse/THRIFT-5495) - Go lib server not close client when ... Travis fails consistently on a Rust dependency
Read more >
The Grails Framework 5.2.1
If you see the error "Server failed to start for port 8080: Address ... You also have to apply the java-library gradle plugin...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found