mirror of
https://github.com/ViaVersion/ViaBackwards.git
synced 2024-11-21 12:07:38 +01:00
Define as Sponge plugin for ViaSponge (#892)
This commit is contained in:
parent
f4253641e1
commit
904c83f341
@ -5,7 +5,7 @@ plugins {
|
||||
tasks {
|
||||
// Variable replacements
|
||||
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")
|
||||
}
|
||||
}
|
||||
@ -22,4 +22,4 @@ tasks {
|
||||
java {
|
||||
javaTarget(17)
|
||||
withSourcesJar()
|
||||
}
|
||||
}
|
||||
|
@ -14,6 +14,7 @@ val main = setOf(
|
||||
projects.viabackwardsCommon,
|
||||
projects.viabackwardsBukkit,
|
||||
projects.viabackwardsVelocity,
|
||||
projects.viabackwardsSponge,
|
||||
projects.viabackwardsFabric
|
||||
).map { it.dependencyProject }
|
||||
|
||||
|
@ -24,6 +24,7 @@ includeBuild("build-logic")
|
||||
setupViaSubproject("common")
|
||||
setupViaSubproject("bukkit")
|
||||
setupViaSubproject("velocity")
|
||||
setupViaSubproject("sponge")
|
||||
setupViaSubproject("fabric")
|
||||
|
||||
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.viabackwardsVelocity)
|
||||
api(projects.viabackwardsFabric)
|
||||
api(projects.viabackwardsSponge)
|
||||
}
|
||||
|
||||
tasks {
|
||||
|
Loading…
Reference in New Issue
Block a user