|
It seems some users are having issues with the complexity of the gradle project.
Kronos is configured using a master gradle project with modules that each have their own tasks.
IntelliJ Download:
https://www.jetbrains.com/idea/downl...ection=windows
JetBrains will give you a free ultimate license if you are a student in uni. Otherwise, community is perfectly fine.
I've updated the download thread with v1.1 which strips out some of the Spring API which was preventing a seamless setup. This API was only for runelite's highscores, so if you want to re add this later, feel free. We only commented out the initializtion.
First simply unzip the project to your desired location
Open IntelliJ and choose "Open"
Navigate to where you unzipped Kronos and select the root build.gradle file.
Again, make sure you select the root, each file does have it's own build script that will be automatically imported!
Then, be sure to select "Open as Project"
This may take some time depending on several factors including your hardware and internet connection.
IntelliJ is now importing all of sub-projects, downloading the dependencies and indexing the files.
This is the power of gradle!
After the status bar on the bottom right is completed with indexing and downloading deps, you're basically done!
Before going any further, I'd recommend building the entire project.
Open the Gradle tab of IntelliJ and go into the root project, build folder, and build the entire project.
This will generate all of the class files for all of the projects and ensure you have no errors. (You won't at this point unless you simply don't have Java installed or something similar)
In your Project explorer, navigate into "kronos-server"
Select and rename "server.example.properties" to "server.properties"
Now, open "server.properties".
You'll want to ensure offline is set to "true" for now until you get all your web services setup.
Your cache path may also need to be slightly adjusted as well depending on gradle config or operating system.
If you have your SQL setup, you will want to enter that as well now.
In your file explorer, navigate to "runelite" and find the "build.gradle.kts" file.
Right click it, and add "Import Gradle Directory"
You're done!
You can now navigate back to the Gradle tab and run the kronos-server task.
Then Launch the update server.
Finally, run the runelite client.
Configure your client as described in the downloads thread, and you'll be good to connect!
![]()
The server runs fine, just the client won't run and keeps giving this error. "Caused by: java.lang.ClassNotFoundException: net.runelite.client.ui.ClientUI"
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |