mirror of
https://github.com/ViaVersion/ViaBackwards.git
synced 2024-11-24 12:35:43 +01:00
Define as Sponge plugin for ViaSponge (#892)
This commit is contained in:
parent
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
Normal file
62
sponge/src/main/resources/META-INF/sponge_plugins.json
Normal file
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user