ho-dev / HattrickOrganizer

Assistant for Hattrick online football manager
https://ho-dev.github.io/HattrickOrganizer/
GNU Lesser General Public License v3.0
194 stars 79 forks source link

[FEATURE] Developer documentation #2107

Open mastertnt opened 4 months ago

mastertnt commented 4 months ago

Is your feature request related to a problem? Please describe. Following the FAQ in order to recompile and run the project from Intellij, it does not work.

Describe the solution you'd like A clear step-by-step tutorial to be able to recompile/debug/run the project to help the developers.

github-actions[bot] commented 4 months ago

Hey, thanks for opening your first issue! 🙂 Be sure to check out the wiki and the HT forum for support.

mastertnt commented 4 months ago

Can i help on this task ? If you can explain me quickly, i can write the page with screenshots. I use IntelliJ in order to compile. I follow this FAQ https://ho.readthedocs.io/en/latest/faq.html but it does not work with version 2024.1.4. The UI is not exactly the same and nothing about configuration to run/debug.

I am not a JAVA developer but probably, there is a missing step...

mastertnt commented 4 months ago

When i try to compile, i've got some errors on Kotlin:

D:\Projects\Perso\Java\HattrickOrganizer\src\main\java\core\constants\player\PlayerAbility.kt:9:32 Kotlin: Cannot access built-in declaration 'kotlin.arrayOf'. Ensure that you have a dependency on the Kotlin standard library

Any idea ?

wsbrenk commented 3 months ago

image

this are my kotlin settings i found in my ide. i didn't change any of these settings and think, that they are created by default when dependencies defined in the build.gradle are introduced.

wsbrenk commented 3 months ago

@tychobrailleur is in vacation - he is the kotlin expert. Hopefully he can help us when he is back at home.

mastertnt commented 3 months ago

I managed to compile, i will provide my .idea to check the difference with the one in the repo.