-
Notifications
You must be signed in to change notification settings - Fork 18
Setup
Flow Arg edited this page Jul 2, 2021
·
7 revisions
In this page, there are all the instructions to setup your project to use FlowUpdater.
I highly recommand to use a Build Tools like Gradle or Maven. It helps in the management of dependencies and the build compilation of your project. Fast, easy and useful. Here is the latest version of FlowUpdater:
These are the instructions for the different build tools.
repositories {
mavenCentral() // Necessary
maven {
url "https://jitpack.io" // Only if you are using curseforgeplugin
}
}
dependencies {
implementation 'fr.flowarg:flowupdater:VERSION' // needed
implementation 'fr.flowarg:flowupdater-curseforgeplugin:2.0.0' // needed if you want to access to curseforge features
implementation 'fr.flowarg:flowupdater-optifineplugin:2.0.0' // needed if you want to download optifine from the official webiste
}
<!-- MavenCentral is added by default in Maven. You don't need to add it manually. -->
<repositories>
<!-- Only if you are using curseforgeplugin -->
<repository>
<id>jitpack</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependencies>
<!-- needed -->
<dependency>
<groupId>fr.flowarg</groupId>
<artifactId>flowupdater</artifactId>
<version>VERSION</version>
</dependency>
<!-- needed if you want to access to curseforge features -->
<dependency>
<groupId>fr.flowarg</groupId>
<artifactId>flowupdater-curseforgeplugin</artifactId>
<version>2.0.0</version>
</dependency>
<!-- needed if you want to download optifine from the official webiste -->
<dependency>
<groupId>fr.flowarg</groupId>
<artifactId>flowupdater-optifineplugin</artifactId>
<version>2.0.0</version>
</dependency>
</dependencies>