Skip to content

Fix gradle task dependencies#3853

Merged
wadoon merged 1 commit into
mainfrom
weigl/fixnightly
Jun 20, 2026
Merged

Fix gradle task dependencies#3853
wadoon merged 1 commit into
mainfrom
weigl/fixnightly

Conversation

@wadoon

@wadoon wadoon commented Jun 20, 2026

Copy link
Copy Markdown
Member

Nightly deployer got destroyed by ANTLR refactoring:

A problem was found with the configuration of task ':key.ncore:sourcesJar' (type 'Jar').
  - Gradle detected a problem with the following location: '/home/runner/work/key/key/key.ncore/build/generated-src/antlr/main'.
    
    Reason: Task ':key.ncore:sourcesJar' uses this output of task ':key.ncore:runAntlr4Key' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
    
    Possible solutions:
      1. Declare task ':key.ncore:runAntlr4Key' as an input of ':key.ncore:sourcesJar'.
      2. Declare an explicit dependency on ':key.ncore:runAntlr4Key' from ':key.ncore:sourcesJar' using Task#dependsOn.
      3. Declare an explicit dependency on ':key.ncore:runAntlr4Key' from ':key.ncore:sourcesJar' using Task#mustRunAfter.
    
    For more information, please refer to https://docs.gradle.org/9.5.1/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.

Waiting for https://github.com/KeYProject/key/actions/runs/27870275890 to be green.

@wadoon
wadoon force-pushed the weigl/fixnightly branch from f0fbfc3 to 3b5f465 Compare June 20, 2026 11:52
@wadoon wadoon self-assigned this Jun 20, 2026
@wadoon
wadoon requested a review from Drodt June 20, 2026 11:52
@wadoon wadoon added this to the v3.0.0 milestone Jun 20, 2026
@wadoon
wadoon enabled auto-merge June 20, 2026 12:14

@Drodt Drodt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@wadoon
wadoon added this pull request to the merge queue Jun 20, 2026
Merged via the queue into main with commit ce75fde Jun 20, 2026
36 checks passed
@wadoon
wadoon deleted the weigl/fixnightly branch June 20, 2026 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants