mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-23 10:35:12 +01:00
Define as Sponge plugin for ViaSponge (#4163)
This commit is contained in:
parent
c358c39027
commit
c0821de2e2
@ -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")
|
||||
}
|
||||
}
|
||||
|
@ -29,6 +29,7 @@ setupViaSubproject("common")
|
||||
setupViaSubproject("bukkit")
|
||||
setupViaSubproject("bukkit-legacy")
|
||||
setupViaSubproject("velocity")
|
||||
setupViaSubproject("sponge")
|
||||
setupViaSubproject("fabric")
|
||||
|
||||
setupSubproject("viaversion") {
|
||||
|
66
sponge/src/main/resources/META-INF/sponge_plugins.json
Normal file
66
sponge/src/main/resources/META-INF/sponge_plugins.json
Normal file
@ -0,0 +1,66 @@
|
||||
{
|
||||
"loader": {
|
||||
"name": "java_plain",
|
||||
"version": "1.0"
|
||||
},
|
||||
"license": "GNU GPLv3",
|
||||
"global": {
|
||||
"version": "${version}",
|
||||
"links": {
|
||||
"homepage": "https://viaversion.com/",
|
||||
"source": "https://github.com/ViaVersion/ViaVersion",
|
||||
"issues": "https://github.com/ViaVersion/ViaVersion/issues"
|
||||
},
|
||||
"contributors": [
|
||||
{
|
||||
"name": "_MylesC",
|
||||
"description": "Maintainer"
|
||||
},
|
||||
{
|
||||
"name": "creeper123123321",
|
||||
"description": "Contributor"
|
||||
},
|
||||
{
|
||||
"name": "Gerrygames",
|
||||
"description": "Contributor"
|
||||
},
|
||||
{
|
||||
"name": "kennytv",
|
||||
"description": "Maintainer"
|
||||
},
|
||||
{
|
||||
"name": "Matsv",
|
||||
"description": "Contributor"
|
||||
},
|
||||
{
|
||||
"name": "EnZaXD",
|
||||
"description": "Maintainer"
|
||||
},
|
||||
{
|
||||
"name": "RK_01",
|
||||
"description": "Contributor"
|
||||
}
|
||||
],
|
||||
"dependencies": [
|
||||
{
|
||||
"id": "spongeapi",
|
||||
"version": "8.0.0"
|
||||
},
|
||||
{
|
||||
"id": "viasponge",
|
||||
"version": "1.1.0"
|
||||
}
|
||||
],
|
||||
"branding": {
|
||||
"logo": "assets/viaversion/textures/logo.png"
|
||||
}
|
||||
},
|
||||
"plugins": [
|
||||
{
|
||||
"id": "viaversion",
|
||||
"name": "ViaVersion",
|
||||
"entrypoint": "com.viaversion.sponge.util.DummyEntrypoint",
|
||||
"description": "${description}"
|
||||
}
|
||||
]
|
||||
}
|
BIN
sponge/src/main/resources/assets/viaversion/textures/logo.png
Normal file
BIN
sponge/src/main/resources/assets/viaversion/textures/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 30 KiB |
@ -7,6 +7,7 @@ dependencies {
|
||||
api(projects.viaversionCommon)
|
||||
api(projects.viaversionBukkit)
|
||||
api(projects.viaversionVelocity)
|
||||
api(projects.viaversionSponge)
|
||||
api(projects.viaversionFabric)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user