mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-08-29 13:20:32 +00:00
Merge pull request #183 from PolyhedralDev/dev/cleanup/gradleproperties
Update mod description and use Gradle properties so we dont forget some platforms if we change things in the future
This commit is contained in:
@@ -29,7 +29,12 @@ fun Project.configureCompilation() {
|
|||||||
include("**/*.*")
|
include("**/*.*")
|
||||||
filter<org.apache.tools.ant.filters.ReplaceTokens>(
|
filter<org.apache.tools.ant.filters.ReplaceTokens>(
|
||||||
"tokens" to mapOf(
|
"tokens" to mapOf(
|
||||||
"VERSION" to project.version.toString()
|
"VERSION" to project.version.toString(),
|
||||||
|
"DESCRIPTION" to project.properties["terra.description"],
|
||||||
|
"WIKI" to project.properties["terra.wiki"],
|
||||||
|
"SOURCE" to project.properties["terra.source"],
|
||||||
|
"ISSUES" to project.properties["terra.issues"],
|
||||||
|
"LICENSE" to project.properties["terra.license"]
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,3 +7,9 @@ org.gradle.parallel=true
|
|||||||
org.gradle.caching=true
|
org.gradle.caching=true
|
||||||
org.gradle.warning.mode=all
|
org.gradle.warning.mode=all
|
||||||
#org.gradle.logging.level=info
|
#org.gradle.logging.level=info
|
||||||
|
# Project information
|
||||||
|
terra.description=A fast, modern, extensible, platform-agnostic data-driven world generator
|
||||||
|
terra.source=https://github.com/PolyhedralDev/Terra
|
||||||
|
terra.issues=https://github.com/PolyhedralDev/Terra/issues
|
||||||
|
terra.wiki=https://github.com/PolyhedralDev/Terra/wiki
|
||||||
|
terra.license=GNU General Public License, version 3.0
|
||||||
@@ -3,16 +3,13 @@ main: "com.dfsek.terra.bukkit.TerraBukkitPlugin"
|
|||||||
version: "@VERSION@"
|
version: "@VERSION@"
|
||||||
load: "STARTUP"
|
load: "STARTUP"
|
||||||
author: dfsek
|
author: dfsek
|
||||||
|
website: "@WIKI@"
|
||||||
api-version: "1.13"
|
api-version: "1.13"
|
||||||
description: "An insanely powerful free & open-source data-driven world generator."
|
description: "@DESCRIPTION@"
|
||||||
softdepend: [ "WorldEdit" ]
|
softdepend: [ "WorldEdit" ]
|
||||||
commands:
|
commands:
|
||||||
terra:
|
terra:
|
||||||
description: "Terra base command"
|
description: "Terra base command"
|
||||||
usage: "/terra "
|
usage: "/terra "
|
||||||
aliases: [ "te" ]
|
aliases: [ "te" ]
|
||||||
permission: "terra.command"
|
permission: "terra.command"
|
||||||
locate:
|
|
||||||
description: "Locate a Terra Structure"
|
|
||||||
usage: "/locate <STRUCTURE_ID> <radius>"
|
|
||||||
permission: "terra.locate"
|
|
||||||
@@ -3,15 +3,16 @@
|
|||||||
"id": "terra",
|
"id": "terra",
|
||||||
"version": "@VERSION@",
|
"version": "@VERSION@",
|
||||||
"name": "Terra",
|
"name": "Terra",
|
||||||
"description": "An insanely powerful free & open-source data-driven world generator.",
|
"description": "@DESCRIPTION@",
|
||||||
"authors": [
|
"authors": [
|
||||||
"dfsek"
|
"dfsek"
|
||||||
],
|
],
|
||||||
"contact": {
|
"contact": {
|
||||||
"homepage": "https://github.com/PolyhedralDev/Terra/wiki",
|
"homepage": "@WIKI@",
|
||||||
"sources": "https://github.com/PolyhedralDev/Terra"
|
"sources": "@SOURCE@",
|
||||||
|
"issues": "@ISSUES@"
|
||||||
},
|
},
|
||||||
"license": "GPL-3.0",
|
"license": "@LICENSE@",
|
||||||
"icon": "assets/terra/icon.png",
|
"icon": "assets/terra/icon.png",
|
||||||
"environment": "*",
|
"environment": "*",
|
||||||
"entrypoints": {
|
"entrypoints": {
|
||||||
|
|||||||
@@ -1,17 +1,17 @@
|
|||||||
modLoader="javafml"
|
modLoader = "javafml"
|
||||||
loaderVersion="[36,)"
|
loaderVersion = "[36,)"
|
||||||
license="GNU General Public License, version 3.0"
|
license = "@LICENSE@"
|
||||||
issueTrackerURL="https://github.com/PolyhedralDev/Terra/issues/"
|
issueTrackerURL = "@ISSUES@"
|
||||||
[[mods]]
|
[[mods]]
|
||||||
modId="terra"
|
modId = "terra"
|
||||||
version="@VERSION@"
|
version = "@VERSION@"
|
||||||
displayName="Terra"
|
displayName = "Terra"
|
||||||
displayURL="https://github.com/PolyhedralDev/Terra/"
|
displayURL = "@WIKI@"
|
||||||
authors="dfsek & Terra contributors"
|
authors = "dfsek & Terra contributors"
|
||||||
description="Data-driven world generator"
|
description = "@DESCRIPTION@"
|
||||||
[[dependencies.terra]]
|
[[dependencies.terra]]
|
||||||
modId="forge"
|
modId = "forge"
|
||||||
mandatory=true
|
mandatory = true
|
||||||
versionRange="[36,)"
|
versionRange = "[36,)"
|
||||||
ordering="NONE"
|
ordering = "NONE"
|
||||||
side="BOTH"
|
side = "BOTH"
|
||||||
Reference in New Issue
Block a user