Define as Sponge plugin for ViaSponge

This commit is contained in:
FlorianMichael 2024-10-03 19:05:58 +02:00
parent 6569b6129e
commit ceb938df7e
No known key found for this signature in database
GPG Key ID: C2FB87E71C425126
4 changed files with 62 additions and 0 deletions

View File

@ -17,6 +17,7 @@ dependencies {
publishInclude project(":viaaprilfools-common")
publishInclude project(":viaaprilfools-bukkit")
publishInclude project(":viaaprilfools-fabric")
publishInclude project(":viaaprilfools-sponge")
publishInclude project(":viaaprilfools-velocity")
}

View File

@ -16,6 +16,7 @@ includeBuild("build-logic")
setupViaSubproject("common")
setupViaSubproject("bukkit")
setupViaSubproject("fabric")
setupViaSubproject("sponge")
setupViaSubproject("velocity")
void setupViaSubproject(String name) {

9
sponge/build.gradle Normal file
View File

@ -0,0 +1,9 @@
plugins {
id "vaf.platform-conventions"
}
processResources {
filesMatching("META-INF/sponge_plugins.json") {
expand("version": project.version, "description": project.description)
}
}

View File

@ -0,0 +1,51 @@
{
"loader": {
"name": "java_plain",
"version": "1.0"
},
"license": "GNU GPLv3",
"global": {
"version": "${version}",
"links": {
"homepage": "https://viaversion.com/aprilfools",
"source": "https://github.com/ViaVersion/ViaAprilFools",
"issues": "https://github.com/ViaVersion/ViaprilFools/issues"
},
"contributors": [
{
"name": "RK_01",
"description": "Author"
},
{
"name": "FlorianMichael/EnZaXD",
"description": "Maintainer"
}
],
"dependencies": [
{
"id": "spongeapi",
"version": "8.0.0"
},
{
"id": "viasponge",
"version": "1.1.0"
},
{
"id": "viaversion",
"version": "[5.0.4-SNAPSHOT,)"
},
{
"id": "viabackwards",
"version": "[5.0.4-SNAPSHOT,)"
}
]
},
"plugins": [
{
"id": "viaaprilfools",
"name": "ViaAprilFools",
"entrypoint": "com.viaversion.sponge.util.DummyEntrypoint",
"description": "${description}"
}
]
}