Mirror von
https://github.com/ViaVersion/ViaBackwards.git
synchronisiert 2024-12-26 00:00:33 +01:00
Define as Sponge plugin for ViaSponge (#892)
Dieser Commit ist enthalten in:
Ursprung
f4253641e1
Commit
904c83f341
@ -5,7 +5,7 @@ plugins {
|
|||||||
tasks {
|
tasks {
|
||||||
// Variable replacements
|
// Variable replacements
|
||||||
processResources {
|
processResources {
|
||||||
filesMatching(listOf("plugin.yml", "fabric.mod.json")) {
|
filesMatching(listOf("plugin.yml", "META-INF/sponge_plugins.json", "fabric.mod.json")) {
|
||||||
expand("version" to project.version, "description" to project.description, "url" to "https://viaversion.com/backwards")
|
expand("version" to project.version, "description" to project.description, "url" to "https://viaversion.com/backwards")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -14,6 +14,7 @@ val main = setOf(
|
|||||||
projects.viabackwardsCommon,
|
projects.viabackwardsCommon,
|
||||||
projects.viabackwardsBukkit,
|
projects.viabackwardsBukkit,
|
||||||
projects.viabackwardsVelocity,
|
projects.viabackwardsVelocity,
|
||||||
|
projects.viabackwardsSponge,
|
||||||
projects.viabackwardsFabric
|
projects.viabackwardsFabric
|
||||||
).map { it.dependencyProject }
|
).map { it.dependencyProject }
|
||||||
|
|
||||||
|
@ -24,6 +24,7 @@ includeBuild("build-logic")
|
|||||||
setupViaSubproject("common")
|
setupViaSubproject("common")
|
||||||
setupViaSubproject("bukkit")
|
setupViaSubproject("bukkit")
|
||||||
setupViaSubproject("velocity")
|
setupViaSubproject("velocity")
|
||||||
|
setupViaSubproject("sponge")
|
||||||
setupViaSubproject("fabric")
|
setupViaSubproject("fabric")
|
||||||
|
|
||||||
setupSubproject("viabackwards") {
|
setupSubproject("viabackwards") {
|
||||||
|
62
sponge/src/main/resources/META-INF/sponge_plugins.json
Normale Datei
62
sponge/src/main/resources/META-INF/sponge_plugins.json
Normale Datei
@ -0,0 +1,62 @@
|
|||||||
|
{
|
||||||
|
"loader": {
|
||||||
|
"name": "java_plain",
|
||||||
|
"version": "1.0"
|
||||||
|
},
|
||||||
|
"license": "GNU GPLv3",
|
||||||
|
"global": {
|
||||||
|
"version": "${version}",
|
||||||
|
"links": {
|
||||||
|
"source": "https://github.com/ViaVersion/ViaBackwards",
|
||||||
|
"issues": "https://github.com/ViaVersion/ViaBackwards/issues"
|
||||||
|
},
|
||||||
|
"contributors": [
|
||||||
|
{
|
||||||
|
"name": "Matsv",
|
||||||
|
"description": "Maintainer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "kennytv",
|
||||||
|
"description": "Maintainer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Gerrygames",
|
||||||
|
"description": "Contributor"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "creeper123123321",
|
||||||
|
"description": "Contributor"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "ForceUpdate1",
|
||||||
|
"description": "Contributor"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "EnZaXD",
|
||||||
|
"description": "Maintainer"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"dependencies": [
|
||||||
|
{
|
||||||
|
"id": "spongeapi",
|
||||||
|
"version": "8.0.0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "viasponge",
|
||||||
|
"version": "1.1.0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "viaversion",
|
||||||
|
"version": "[5.0.4-SNAPSHOT,)"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"plugins": [
|
||||||
|
{
|
||||||
|
"id": "viabackwards",
|
||||||
|
"name": "ViaBackwards",
|
||||||
|
"entrypoint": "com.viaversion.sponge.util.DummyEntrypoint",
|
||||||
|
"description": "${description}"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -8,6 +8,7 @@ dependencies {
|
|||||||
api(projects.viabackwardsBukkit)
|
api(projects.viabackwardsBukkit)
|
||||||
api(projects.viabackwardsVelocity)
|
api(projects.viabackwardsVelocity)
|
||||||
api(projects.viabackwardsFabric)
|
api(projects.viabackwardsFabric)
|
||||||
|
api(projects.viabackwardsSponge)
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks {
|
tasks {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren