-
Notifications
You must be signed in to change notification settings - Fork 7
Setting Up
Additional Bars can be set up for standalone, or multiproject development. Multiproject development usesa fork of MultiWorkspace by McJty. Here will be explained how to set up the project locally for development.
To set up Additional Bars, all you have to do is clone the repository. If you want to clone a specific branch, you have to add -b name_of_the_branch
before the git link. For now, only the master
and 1.16
branches are available, while 1.16
being primary.
To setup Additional Bars for working with multiple projects, I recommend to use my fork of MultiWorkspace, because I've set it up for working with Additional Bars and it's addons.
First, you have to clone the MultiWorkspace repo, and then inside MultiWorkspace
folder, clone AdditionalBars
and the rest of addons you want to use. Then, open the workspace
folder, and edit build.gradle
that's inside that folder. To dependencies
, add implementation project(":ProjectName")
for every project that is cloned in the root of MultiWorkspace, where ProjectName is the vendor name of the project (for example: implementation project(":AdditionalBars")
). Then, in IntelliJ IDEA, import the blank build.gradle
at the root of MultiWorkspace
as project. Hierarchy should be something like this:
MultiWorkspace (Named 1.16)
│
├───AdditionalBars
│ ├───gradle/
│ │ └───wrapper/
│ ├───src/
│ └───build.gradle
│
├───Project1
│ ├───gradle/
│ │ └───wrapper/
│ ├───src/
│ └───build.gradle
│
├───ProjectN
│ ├───gradle/
│ │ └───wrapper/
│ ├───src/
│ └───build.gradle
. . .
│
├───workspace
│ ├───gradle/
│ │ └───wrapper/
│ ├───src/
│ └───build.gradle
└───build.gradle (Load this build.gradle in IntelliJ)