Skip to content

Make makePluginsJson run after ensureJarCompatibility#16

Open
Luna712 wants to merge 1 commit intorecloudstream:masterfrom
Luna712:mustrunafter
Open

Make makePluginsJson run after ensureJarCompatibility#16
Luna712 wants to merge 1 commit intorecloudstream:masterfrom
Luna712:mustrunafter

Conversation

@Luna712
Copy link
Copy Markdown
Contributor

@Luna712 Luna712 commented Apr 24, 2026

By using mustRunAfter instead of dependsOn it won't force it to run unless its already in the task graph, so that way it only ensures it runs first if there are actually cross platform plugins with ensureJarCompatibility still pending.

By using `mustRunAfter` instead of `dependsOn` it won't force it to run unless its already in the task graph, so that way it only ensures it runs first if there are actually cross platform plugins with ensureJarCompatibility still pending.
@Luna712
Copy link
Copy Markdown
Contributor Author

Luna712 commented Apr 26, 2026

@fire-light42 could this be merged if you are able btw? It just fixes a race condition where the last ensureJarCompatibility can sometimes run after makePluginsJson causing it to still make the JAR even if that fails. It should be okay I tested on repos with no cross platform extensions and one with many and seems to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant