Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.osuWorks:osu-api-Java-Client:'
}
dependencies {
implementation("com.github.osuWorks:osu-api-Java-Client:")
}
<dependency>
<groupId>com.github.osuWorks</groupId>
<artifactId>osu-api-Java-Client</artifactId>
<version></version>
</dependency>
libraryDependencies += "com.github.osuWorks" % "osu-api-Java-Client" % ""
:dependencies [[com.github.osuWorks/osu-api-Java-Client ""]]
This is an open source Java API wrapper for the osu!api, the public API of the game osu!.
Compatible osu!api version: 1.0
This project uses Apache Maven for build automation and dependency management. Unfortunately this project is not available in any repository so it is needed to install it locally. A functioning maven installation is required.
git clone https://github.com/osuWorks/osu-api-Java-Client.git
cd osu-api-Java-Client
mvn clean install -Dmaven.test.skip=true
After a successful build you can use the components:
for API common utils (models, serializers, ...):
<dependency>
<groupId>de.maxikg</groupId>
<artifactId>osu-apiwrapper-common</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
for the API client:
<dependency>
<groupId>de.maxikg</groupId>
<artifactId>osu-apiwrapper-client</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
Coming soon.
If you are a Java developer you can browse the repository to get familiar with the osu!api Java Client.
See LICENSE.md.
See CONTRIBUTE.md.