forked from openrs2/openrs2
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.
32 lines
1.0 KiB
32 lines
1.0 KiB
plugins {
|
|
`maven-publish`
|
|
kotlin("jvm")
|
|
}
|
|
|
|
dependencies {
|
|
api("com.google.inject:guice:${Versions.guice}")
|
|
api("io.netty:netty-transport:${Versions.netty}")
|
|
api("org.jetbrains.kotlinx:kotlinx-coroutines-core:${Versions.kotlinCoroutines}")
|
|
|
|
implementation(project(":buffer"))
|
|
implementation("io.netty:netty-transport-native-epoll:${Versions.netty}:linux-aarch_64")
|
|
implementation("io.netty:netty-transport-native-epoll:${Versions.netty}:linux-x86_64")
|
|
implementation("io.netty:netty-transport-native-kqueue:${Versions.netty}:osx-x86_64")
|
|
implementation("io.netty.incubator:netty-incubator-transport-native-io_uring:${Versions.nettyIoUring}:linux-x86_64")
|
|
}
|
|
|
|
publishing {
|
|
publications.create<MavenPublication>("maven") {
|
|
from(components["java"])
|
|
|
|
pom {
|
|
packaging = "jar"
|
|
name.set("OpenRS2 Network")
|
|
description.set(
|
|
"""
|
|
Common Netty utility code.
|
|
""".trimIndent()
|
|
)
|
|
}
|
|
}
|
|
}
|
|
|