aboutsummaryrefslogtreecommitdiff
path: root/spark-sponge8
diff options
context:
space:
mode:
Diffstat (limited to 'spark-sponge8')
-rw-r--r--spark-sponge8/build.gradle2
-rw-r--r--spark-sponge8/src/main/resources/META-INF/sponge_plugins.json (renamed from spark-sponge8/src/main/resources/META-INF/plugins.json)12
2 files changed, 8 insertions, 6 deletions
diff --git a/spark-sponge8/build.gradle b/spark-sponge8/build.gradle
index 80fbd04..45f17b3 100644
--- a/spark-sponge8/build.gradle
+++ b/spark-sponge8/build.gradle
@@ -13,7 +13,7 @@ repositories {
processResources {
from(sourceSets.main.resources.srcDirs) {
- include 'META-INF/plugins.json'
+ include 'META-INF/sponge_plugins.json'
expand (
version: project.pluginVersion,
description: project.pluginDescription
diff --git a/spark-sponge8/src/main/resources/META-INF/plugins.json b/spark-sponge8/src/main/resources/META-INF/sponge_plugins.json
index ac4e3cf..55b1772 100644
--- a/spark-sponge8/src/main/resources/META-INF/plugins.json
+++ b/spark-sponge8/src/main/resources/META-INF/sponge_plugins.json
@@ -1,11 +1,15 @@
{
+ "loader": {
+ "name": "java_plain",
+ "version": "1.0"
+ },
+ "license": "MIT",
"plugins": [
{
- "loader": "java_plain",
"id": "spark",
"name": "spark-sponge8",
"version": "${version}",
- "main-class": "me.lucko.spark.sponge.Sponge8SparkPlugin",
+ "entrypoint": "me.lucko.spark.sponge.Sponge8SparkPlugin",
"description": "${description}",
"links": {
"homepage": "https://spark.lucko.me/",
@@ -21,9 +25,7 @@
"dependencies": [
{
"id": "spongeapi",
- "version": "8.0.0",
- "load-order": "AFTER",
- "optional": false
+ "version": "8.0.0"
}
]
}