Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gradle detecting problems with publish and sign dependencies for a multiplatform project #338

Closed
AlecKazakova opened this issue Apr 5, 2022 · 3 comments · Fixed by #404
Labels

Comments

@AlecKazakova
Copy link

If I run a publish task for a module which depends on another module

Gradle detected a problem with the following location: '~/Development/sqldelight/runtime/build/libs/runtime-2.1.0-SNAPSHOT-javadoc.jar.asc'. Reason: Task ':runtime:publishIosArm32PublicationToInstallLocallyRepository' uses this output of task ':runtime:signIosX64Publication'

This might actually be a bug with gradle or kotlin but its hard to tell. It looks like the publish task references the jar signature file, which got signed by a previous task, so gradle expects there to be a task dependency?

@gabrielittner
Copy link
Collaborator

It might be https://youtrack.jetbrains.com/issue/KT-46466 which I opened a long time ago but I'll take a look again what could be causing it.

@eygraber
Copy link
Contributor

Unfortunately I didn't copy the pertinent info from the log and GitHub deleted it, but I believe this is the same issue #259

@gabrielittner
Copy link
Collaborator

Added the workaround from the youtrack ticket directly to the plugin so that you don't need to apply it manually on each project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants