How do I mark packages as excluded (i.e. so IntelliJ doesn't refuse to run or build the project if one of them is broken) whilst still pushing them via git? How does one separate the functionalities of exclusion from git and exclusion from runtime?
Context:
I am basically using IntelliJ to hold emptyworksheet/worksheet/solutions packages in the same project as it doesn't allow multiple projects open at once. It is not intended to be elegant or workable - just to emulate the environment I write Java in whilst keeping the 'solutions' and 'empty worksheets' handy for repeat attempts.