Define as Sponge plugin for ViaSponge (#4163)

This commit is contained in:
EnZaXD 2024-10-02 10:41:59 +02:00 committed by GitHub
parent c358c39027
commit c0821de2e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 69 additions and 1 deletions

View File

@ -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")
}
}

View File

@ -29,6 +29,7 @@ setupViaSubproject("common")
setupViaSubproject("bukkit")
setupViaSubproject("bukkit-legacy")
setupViaSubproject("velocity")
setupViaSubproject("sponge")
setupViaSubproject("fabric")
setupSubproject("viaversion") {

View 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}"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

View File

@ -7,6 +7,7 @@ dependencies {
api(projects.viaversionCommon)
api(projects.viaversionBukkit)
api(projects.viaversionVelocity)
api(projects.viaversionSponge)
api(projects.viaversionFabric)
}