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

[FEATURE] Developer documentation #2107

Open
mastertnt opened this issue Jul 14, 2024 · 6 comments
Open

[FEATURE] Developer documentation #2107

mastertnt opened this issue Jul 14, 2024 · 6 comments
Milestone

Comments

@mastertnt
Copy link

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.

Copy link

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

@mastertnt mastertnt changed the title [FEATURE] [FEATURE] Developer documentation Jul 14, 2024
@wsbrenk wsbrenk added this to the 9.0 milestone Jul 14, 2024
@mastertnt
Copy link
Author

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
Copy link
Author

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
Copy link
Collaborator

wsbrenk commented Jul 20, 2024

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
Copy link
Collaborator

wsbrenk commented Jul 20, 2024

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

@mastertnt
Copy link
Author

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

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

No branches or pull requests

2 participants