mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-03 06:16:10 +00:00
add license, wiki, source and issue URLs to properties
This commit is contained in:
@@ -30,7 +30,11 @@ fun Project.configureCompilation() {
|
||||
filter<org.apache.tools.ant.filters.ReplaceTokens>(
|
||||
"tokens" to mapOf(
|
||||
"VERSION" to project.version.toString(),
|
||||
"DESCRIPTION" to project.properties["terra.description"]
|
||||
"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"]
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
@@ -8,4 +8,8 @@ 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.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,6 +3,7 @@ main: "com.dfsek.terra.bukkit.TerraBukkitPlugin"
|
||||
version: "@VERSION@"
|
||||
load: "STARTUP"
|
||||
author: dfsek
|
||||
website: "@WIKI@"
|
||||
api-version: "1.13"
|
||||
description: "@DESCRIPTION@"
|
||||
softdepend: [ "WorldEdit" ]
|
||||
|
||||
@@ -8,10 +8,11 @@
|
||||
"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,12 +1,12 @@
|
||||
modLoader = "javafml"
|
||||
loaderVersion = "[36,)"
|
||||
license = "GNU General Public License, version 3.0"
|
||||
issueTrackerURL = "https://github.com/PolyhedralDev/Terra/issues/"
|
||||
license = "@LICENSE@"
|
||||
issueTrackerURL = "@ISSUES@"
|
||||
[[mods]]
|
||||
modId = "terra"
|
||||
version = "@VERSION@"
|
||||
displayName = "Terra"
|
||||
displayURL = "https://github.com/PolyhedralDev/Terra/"
|
||||
displayURL = "@WIKI@"
|
||||
authors = "dfsek & Terra contributors"
|
||||
description = "@DESCRIPTION@"
|
||||
[[dependencies.terra]]
|
||||
|
||||
Reference in New Issue
Block a user