diff options
author | Luck <git@lucko.me> | 2021-09-24 22:02:17 +0100 |
---|---|---|
committer | Luck <git@lucko.me> | 2021-09-24 22:02:32 +0100 |
commit | abc2eaa49f928a064ab3f197f3d9d8e3d16f2eb8 (patch) | |
tree | 34a3050fd6923220531692ef5f95b83fe7cf7fc8 /spark-sponge8 | |
parent | 11a1a62564d827cbdadb08cadc30b68c1022f5a1 (diff) | |
download | spark-abc2eaa49f928a064ab3f197f3d9d8e3d16f2eb8.tar.gz spark-abc2eaa49f928a064ab3f197f3d9d8e3d16f2eb8.tar.bz2 spark-abc2eaa49f928a064ab3f197f3d9d8e3d16f2eb8.zip |
Update sponge8 plugin metadata file to new format
Diffstat (limited to 'spark-sponge8')
-rw-r--r-- | spark-sponge8/build.gradle | 2 | ||||
-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" } ] } |