mirror of https://github.com/GeyserMC/Geyser.git
49 lines
1.0 KiB
Plaintext
49 lines
1.0 KiB
Plaintext
plugins {
|
|
application
|
|
}
|
|
|
|
architectury {
|
|
platformSetupLoomIde()
|
|
fabric()
|
|
}
|
|
|
|
dependencies {
|
|
modImplementation(libs.fabric.loader)
|
|
modApi(libs.fabric.api)
|
|
|
|
api(project(":mod", configuration = "namedElements"))
|
|
shadow(project(path = ":mod", configuration = "transformProductionFabric")) {
|
|
isTransitive = false
|
|
}
|
|
shadow(projects.core) {
|
|
exclude(group = "com.google.guava", module = "guava")
|
|
exclude(group = "com.google.code.gson", module = "gson")
|
|
exclude(group = "org.slf4j")
|
|
exclude(group = "com.nukkitx.fastutil")
|
|
exclude(group = "io.netty.incubator")
|
|
}
|
|
|
|
modImplementation(libs.fabric.permissions)
|
|
include(libs.fabric.permissions)
|
|
}
|
|
|
|
application {
|
|
mainClass.set("org.geysermc.geyser.platform.fabric.GeyserFabricMain")
|
|
}
|
|
|
|
tasks {
|
|
remapJar {
|
|
archiveBaseName.set("Geyser-Fabric")
|
|
}
|
|
|
|
remapModrinthJar {
|
|
archiveBaseName.set("geyser-fabric")
|
|
}
|
|
}
|
|
|
|
modrinth {
|
|
loaders.add("fabric")
|
|
dependencies {
|
|
required.project("fabric-api")
|
|
}
|
|
} |