mirror of
https://github.com/ViaVersion/ViaAprilFools.git
synced 2024-11-15 10:35:12 +01:00
Define as Sponge plugin for ViaSponge
This commit is contained in:
parent
6569b6129e
commit
ceb938df7e
@ -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")
|
||||
}
|
||||
|
||||
|
@ -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
9
sponge/build.gradle
Normal file
@ -0,0 +1,9 @@
|
||||
plugins {
|
||||
id "vaf.platform-conventions"
|
||||
}
|
||||
|
||||
processResources {
|
||||
filesMatching("META-INF/sponge_plugins.json") {
|
||||
expand("version": project.version, "description": project.description)
|
||||
}
|
||||
}
|
51
sponge/src/main/resources/META-INF/sponge_plugins.json
Normal file
51
sponge/src/main/resources/META-INF/sponge_plugins.json
Normal 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}"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user