mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-12-12 09:50:49 +01:00
49 lines
1 KiB
Text
49 lines
1 KiB
Text
|
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")
|
||
|
}
|
||
|
}
|