Open-source multiplayer game server compatible with the RuneScape client
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
openrs2/net/build.gradle.kts

33 lines
1.1 KiB

plugins {
`maven-publish`
kotlin("jvm")
}
dependencies {
api(libs.guice)
api(libs.kotlin.coroutines.core)
api(libs.netty.transport)
implementation(projects.buffer)
implementation("io.netty.incubator:netty-incubator-transport-native-io_uring:${libs.versions.nettyIoUring.get()}:linux-aarch_64")
implementation("io.netty.incubator:netty-incubator-transport-native-io_uring:${libs.versions.nettyIoUring.get()}:linux-x86_64")
implementation("io.netty:netty-transport-native-epoll:${libs.versions.netty.get()}:linux-aarch_64")
implementation("io.netty:netty-transport-native-epoll:${libs.versions.netty.get()}:linux-x86_64")
implementation("io.netty:netty-transport-native-kqueue:${libs.versions.netty.get()}:osx-x86_64")
}
publishing {
publications.create<MavenPublication>("maven") {
from(components["java"])
pom {
packaging = "jar"
name.set("OpenRS2 Network")
description.set(
"""
Common Netty utility code.
""".trimIndent()
)
}
}
}