Skip to content
Loving11ish edited this page Feb 22, 2024 · 10 revisions

API Implementation

Current API Version:

Adding ClansLite To Your Project

To start, you're going to want to add ClansLite as a dependency or soft dependancy to your project. While you could download the jar file and add it as a classpath dependency, we highly recommend using a build system such as Maven or Gradle.

Using Maven

  • Repository
	<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>
  • Dependency
	<dependency>
	    <groupId>com.github.CraptiCraft-Development</groupId>
	    <artifactId>ClansLite-API</artifactId>
	    <version>[CURRENT-VERSION]</version>
            <scope>provided</scope>
	</dependency>

Using Gradle

  • build.gralde
	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	}
  • Dependency
	dependencies {
	        implementation 'com.github.CraptiCraft-Development:ClansLite-API:[CURRENT-VERSION]'
	}

Clone this wiki locally