Skip to content
  • Eric Pietrocupo's avatar
    Making a single gradle project and adding an example · 660104a8
    Eric Pietrocupo authored
    I decided to work with gradle to make a single project with subprojects, so that it can build everything at once. It runs much faster now has it only needs to load gradle once. But there is still issues I cannot solve, like the shell script that is supposed to run the class still does not work. I need to manually move the files into a folder and run from there.
    
    I did an additional run script for the examples, but I'll have to improve it when multiple examples will be available to be able to run any game name passed in parameter.
    
    Another solution is to use Fat Jar, which consist in combining all dependencies into a single Jar, at least, no files will have to be moved, but there is always the possibility that it can still cannot find the main class.
    
    Finally, the example folder is "built" even if there is no code, so I need a way to skip this folder, but not the sub folder.
    
    I'll create an issue for the things that does not work listed in this commit
    
    NEXT
    * Test on the netbook and try to fix the issues below.
    * Merge and close the milestone.
    
    BUGS TO FIX
    * SPLIT PANE The 2 terminal output and the split pane seem complicated to configure. See if there could be another way to size the JTextArea, or if there is another way to configure the split pane. I will have to try on the netbook to see if the result is still centered. Test with the net book.
    * BUG SCROLL BAR the right terminal has a horizontal scroll bar but not the left one. Try to see why.
    660104a8
Validating GitLab CI configuration… Learn more