mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-02-16 10:30:42 +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("**/*.*")
|
||||
filter<org.apache.tools.ant.filters.ReplaceTokens>(
|
||||
"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.warning.mode=all
|
||||
#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@"
|
||||
load: "STARTUP"
|
||||
author: dfsek
|
||||
website: "@WIKI@"
|
||||
api-version: "1.13"
|
||||
description: "An insanely powerful free & open-source data-driven world generator."
|
||||
description: "@DESCRIPTION@"
|
||||
softdepend: [ "WorldEdit" ]
|
||||
commands:
|
||||
terra:
|
||||
description: "Terra base command"
|
||||
usage: "/terra "
|
||||
aliases: [ "te" ]
|
||||
permission: "terra.command"
|
||||
locate:
|
||||
description: "Locate a Terra Structure"
|
||||
usage: "/locate <STRUCTURE_ID> <radius>"
|
||||
permission: "terra.locate"
|
||||
permission: "terra.command"
|
||||
@@ -3,15 +3,16 @@
|
||||
"id": "terra",
|
||||
"version": "@VERSION@",
|
||||
"name": "Terra",
|
||||
"description": "An insanely powerful free & open-source data-driven world generator.",
|
||||
"description": "@DESCRIPTION@",
|
||||
"authors": [
|
||||
"dfsek"
|
||||
],
|
||||
"contact": {
|
||||
"homepage": "https://github.com/PolyhedralDev/Terra/wiki",
|
||||
"sources": "https://github.com/PolyhedralDev/Terra"
|
||||
"homepage": "@WIKI@",
|
||||
"sources": "@SOURCE@",
|
||||
"issues": "@ISSUES@"
|
||||
},
|
||||
"license": "GPL-3.0",
|
||||
"license": "@LICENSE@",
|
||||
"icon": "assets/terra/icon.png",
|
||||
"environment": "*",
|
||||
"entrypoints": {
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
modLoader="javafml"
|
||||
loaderVersion="[36,)"
|
||||
license="GNU General Public License, version 3.0"
|
||||
issueTrackerURL="https://github.com/PolyhedralDev/Terra/issues/"
|
||||
modLoader = "javafml"
|
||||
loaderVersion = "[36,)"
|
||||
license = "@LICENSE@"
|
||||
issueTrackerURL = "@ISSUES@"
|
||||
[[mods]]
|
||||
modId="terra"
|
||||
version="@VERSION@"
|
||||
displayName="Terra"
|
||||
displayURL="https://github.com/PolyhedralDev/Terra/"
|
||||
authors="dfsek & Terra contributors"
|
||||
description="Data-driven world generator"
|
||||
modId = "terra"
|
||||
version = "@VERSION@"
|
||||
displayName = "Terra"
|
||||
displayURL = "@WIKI@"
|
||||
authors = "dfsek & Terra contributors"
|
||||
description = "@DESCRIPTION@"
|
||||
[[dependencies.terra]]
|
||||
modId="forge"
|
||||
mandatory=true
|
||||
versionRange="[36,)"
|
||||
ordering="NONE"
|
||||
side="BOTH"
|
||||
modId = "forge"
|
||||
mandatory = true
|
||||
versionRange = "[36,)"
|
||||
ordering = "NONE"
|
||||
side = "BOTH"
|
||||
Reference in New Issue
Block a user