-
-
Notifications
You must be signed in to change notification settings - Fork 450
Building the plugins with IntelliJ IDEA
This guide requires you to have built the OpenOSRS Client already, if not, please follow this guide: Building with IntelliJ-IDEA
Warning: This guide is not setup to be used with GitHub as I don't personally use it, if someone wishes to edit the guide to please feel free to do so.
building the plugins via your project.
amend your client build args to have the following:
publishToMavenLocal :runelite-client:publishToMavenLocal :runelite-api:publishToMavenLocal :http-api:publishToMavenLocal
run the client build.
once completed, close project, import plugins project https://github.com/open-osrs/plugins
close project, open up client project.
right hand side of intellij, click "Gradle" then click the +
navigate to your plugins project folder, and select build.gradle.kts
this will import the gradle project into your current project.
amend build.gradle.kts
withType<Jar> {
doLast {
copy {
from("./build/libs/")
into("../release/")
}
}
}
change into("../release/") to into("EXTERNAL MANAGER DIRECTORY"), for instance:
withType<Jar> {
doLast {
copy {
from("./build/libs/")
into(System.getProperty("user.home") + "/.runelite/externalmanager")
}
}
}
in your gradle project, click OpenOSRS Plugins, Tasks, Build, then right click "build" and click Run 'plugins [build]'
this will build all plugins, and export them into the external manager directory.
when you update your project, it will auto-update the plugins project also.
Please join our Discord if you notice anything wrong or would like to discuss an addition to the wiki.
-
User Guide
-
Developer's Guide
- Setting up development environment
- Using Git with RuneLite
- How RuneLite works
- Using RuneLite's mixins