summaryrefslogtreecommitdiffstats
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle14
1 files changed, 7 insertions, 7 deletions
diff --git a/build.gradle b/build.gradle
index ee65f28..6862820 100644
--- a/build.gradle
+++ b/build.gradle
@@ -134,9 +134,9 @@ jar {
attributes([
"Specification-Title": "${mod_name}",
"Specification-Vendor": "${mod_author}",
- "Specification-Version": "${mod_version}",
+ "Specification-Version": "${manifest_version}",
"Implementation-Title": "${mod_name}",
- "Implementation-Version": "${mod_version}",
+ "Implementation-Version": "${manifest_version}",
"Implementation-Vendor" :"${mod_author}",
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ"),
"MixinConnector": "${project.group}.MixinConnector"
@@ -155,7 +155,7 @@ processResources {
// Replace properties in mods.toml with ones derived from settings.gradle
include 'mods.toml'
expand 'mod_license': mod_license,
- 'mod_version': project.version,
+ 'mod_version': project.manifest_version,
'mod_id' : mod_id,
'mod_name': mod_name,
'mod_url': mod_url,
@@ -170,7 +170,7 @@ processResources {
}
from("${project.projectDir}/docs") {
- include 'changelog.html'
+ include 'CHANGELOG.md'
}
from("${project.projectDir}") {
@@ -188,8 +188,8 @@ curseforge {
id = "${curse_id}"
releaseType = "${curse_release}"
- changelogType = 'html'
- changelog = file('docs/changelog.html')
+ changelogType = 'markdown'
+ changelog = file('docs/CHANGELOG.md')
addGameVersion '1.19'
addGameVersion 'Java 17'
@@ -206,7 +206,7 @@ modrinth {
versionNumber = "Forge-" + project.version
versionName = "No Chat Reports Forge-" + project.version
versionType = "release"
- changelog = rootProject.file("docs/changelog.html").text
+ changelog = rootProject.file("docs/CHANGELOG.md").text
uploadFile = jar
gameVersions = ["1.19"]