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

Pre-create the idePostSync Task in IntelliJ #48

Merged

Conversation

shartte
Copy link
Contributor

@shartte shartte commented Nov 12, 2023

This fixes a usability problem where the IDE would report an error such as Task 'idePostSync' not found in root project[...] when reloading the Gradle project failed.

IntelliJ seemingly "remembers" from the last successful import that it should run idePostSync after a sync, and will do so even if the sync fails and never creates such a task.

This change always pre-creates the empty idePostSync task when the project is being imported by IntelliJ, even if the project import didn't get to a point where it would have been filled with live.

…g from masking the actual project sync error.
@marchermans marchermans merged commit c11afbd into neoforged:NG_7.0 Nov 12, 2023
1 check failed
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.

2 participants