Skip to content

KSoft-Si/Ksoftlin

Repository files navigation

Ksoftlin

A Kotlin KSoft API Wrapper powered by kotlinx.coroutines and Ktor.

Ksoftlin wraps Ksoft endpoints. You can find the documents here

Gradle

Step 1. Add the JitPack repository to your build file

Add it in your root build.gradle at the end of repositories:

allprojects {
	  repositories {
		  maven { url 'https://jitpack.io' }
		}
	}

Step 2. Add the dependency

dependencies {
  implementation 'com.github.Ksoft-Si:Ksoftlin:RelaseOrCommitId'
}

For the latest build use

dependencies {
  implementation 'com.github.Ksoft-Si:Ksoftlin:master-SNAPSHOT'
}

Maven

Step 1. Add the JitPack repository to your build file

<repositories>
	<repository>
	    <id>jitpack.io</id>
	    <url>https://jitpack.io</url>
	</repository>
</repositories>

Step 2. Add the dependency

<dependency>
    <groupId>com.github.Ksoft-Si</groupId>
    <artifactId>Ksoftlin</artifactId>
    <version>Tag</version>
</dependency>