Skip to content

Commit

Permalink
fix: Move plugin data back to json for MindustryPlugins discovery
Browse files Browse the repository at this point in the history
  • Loading branch information
phinner committed Dec 23, 2023
1 parent f34781b commit 81ad130
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 14 deletions.
15 changes: 1 addition & 14 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,7 @@ plugins {
id("com.xpdustry.ksr") version "1.0.0"
}

val metadata =
ModMetadata(
name = "nohorny",
displayName = "NoHornyPlugin",
author = "Xpdustry",
description = "NO HORNY IN MY SERVER!",
version = "2.0.0",
minGameVersion = "146",
hidden = true,
java = true,
main = "com.xpdustry.nohorny.NoHornyPlugin",
repo = "xpdustry/nohorny",
dependencies = mutableListOf("distributor-core", "kotlin-runtime"),
)
val metadata = ModMetadata.fromJson(file("plugin.json"))

// Remove the following line if you don't want snapshot versions
if (indraGit.headTag() == null) {
Expand Down
16 changes: 16 additions & 0 deletions plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "nohorny",
"displayName": "NoHornyPlugin",
"description": "NO HORNY IN MY SERVER!",
"version": "2.0.0",
"author": "Xpdustry",
"repo": "xpdustry/nohorny",
"main": "com.xpdustry.nohorny.NoHornyPlugin",
"java": true,
"hidden": true,
"minGameVersion": "146",
"dependencies": [
"distributor-core",
"kotlin-runtime"
]
}

0 comments on commit 81ad130

Please sign in to comment.