This repository was archived by the owner on Feb 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
Local Development Setup
Explv edited this page Jan 23, 2019
·
5 revisions
The recommended IDE for development is Intellij IDEA: https://www.jetbrains.com/idea/
- Fork the GitHub repo: https://github.com/Explv/Explvs-AIO/fork
- Open up Intellij IDEA and navigate to File -> New -> Project From Version Control -> GitHub
- Login to your GitHub account
- Select your cloned repository's URL
- Click Clone, and create your IDEA project
- Right click on the "Explvs-AIO" module, and select "Open module settings" (or just press F4)
- Navigate to "Project" on the left side of the project settings window
- Select your Project SDK
- Set the language level to Java 8
- Set the project compiler output to the "Explvs-AIO" directory in your IdeaProjects folder
- Navigate to "Libraries" on the left side of the project settings window
- Add the OSBot .jar file as a new Java project library
- Navigate to "Artifacts" on the left side of the project settings window
- Create a new JAR -> Empty
- Set the name of the artifact to
explvs_aio_VERSION.jar
, replacing VERSION with the current version of the script - Set the output directory to your OSBot Scripts directory:
C:\Users\YourUsername\OSBot\Scripts
- Double click "Explv's-AIO compile output" under available elements so that it is moved into the artifact
- Create a new directory inside the artifact, name it "resources"
- Right click on the resources directory, and select "Add copy of" -> "Directory Content"
- In the file selector, navigate to the resources directory inside your Explvs-AIO project, and select it.
- Setup should now be complete, you can build the artifact by navigating to Build -> Build Artifacts.. in the top toolbar.