singularity-sdk-java is an SDK for Singularity GameServers running in Java. This SDK is licensed under GNU LGPLv3.
This quick start guide will use the default Kubernetes implementation of the SDK.
Dependencies (build.gradle.kts):
dependencies {
implementation("gg.innit.singularity:singularity-sdk-k8s:<VERSION>")
// We need to select an HTTP client to use. In this guide, we'll be using the OkHttp implementation.
// See: https://github.com/fabric8io/kubernetes-client/blob/master/doc/FAQ.md#what-artifacts-should-my-project-depend-on
implementation("io.fabric8:kubernetes-httpclient-okhttp:6.1.1") // or runtimeOnly(...)
}