Fix IO_Uring being included in builds

This commit is contained in:
Camotoy 2022-09-18 15:11:18 -04:00
parent 731a0efa7f
commit bb2f4644be
No known key found for this signature in database
GPG key ID: 7EEFB66FE798081F

View file

@ -43,8 +43,6 @@ dependencies {
api("com.github.steveice10", "packetlib", Versions.packetlibVersion) { api("com.github.steveice10", "packetlib", Versions.packetlibVersion) {
exclude("io.netty", "netty-all") exclude("io.netty", "netty-all")
// This is still experimental - additionally, it could only really benefit standalone
exclude("io.netty.incubator", "netty-incubator-transport-native-io_uring")
} }
implementation("com.nukkitx.network", "raknet", Versions.raknetVersion) { implementation("com.nukkitx.network", "raknet", Versions.raknetVersion) {
@ -63,6 +61,7 @@ dependencies {
implementation("io.netty", "netty-transport-native-kqueue", Versions.nettyVersion, null, "osx-x86_64") implementation("io.netty", "netty-transport-native-kqueue", Versions.nettyVersion, null, "osx-x86_64")
// Adventure text serialization // Adventure text serialization
implementation("net.kyori", "adventure-text-serializer-gson", Versions.adventureVersion) // Remove when we remove our Adventure bump
implementation("net.kyori", "adventure-text-serializer-legacy", Versions.adventureVersion) implementation("net.kyori", "adventure-text-serializer-legacy", Versions.adventureVersion)
implementation("net.kyori", "adventure-text-serializer-plain", Versions.adventureVersion) implementation("net.kyori", "adventure-text-serializer-plain", Versions.adventureVersion)
@ -75,6 +74,11 @@ dependencies {
annotationProcessor(projects.ap) annotationProcessor(projects.ap)
} }
configurations.api {
// This is still experimental - additionally, it could only really benefit standalone
exclude(group = "io.netty.incubator", module = "netty-incubator-transport-native-io_uring")
}
configure<BlossomExtension> { configure<BlossomExtension> {
val indra = the<IndraGitExtension>() val indra = the<IndraGitExtension>()