Kotlin API wrapper for Google Agones.
import dev.cubxity.libs.agones.AgonesSDK
suspend fun main() {
AgonesSDK().use { sdk ->
sdk.ready()
// ...
}
}
See Agones Client SDK documentation.
Gradle:
dependencies {
// ...
// Replace -SNAPSHOT with the build
api("com.github.Cubxity", "AgonesKt", "-SNAPSHOT")
// Choose your gRPC runtime
runtimeOnly("io.grpc", "grpc-netty", "1.37.0")
}
repositories {
mavenCentral()
maven("https://jitpack.io")
// ...
}