more curseGradle fixes

This commit is contained in:
NikkyAI 2018-02-19 21:06:08 +01:00
parent c42f91c966
commit 1ac7bee4cc
5 changed files with 14 additions and 12 deletions

View File

@ -114,8 +114,8 @@ curseforge {
apiKey = CURSEFORGE_API_TOKEN apiKey = CURSEFORGE_API_TOKEN
} }
project { project {
id = '287323' id = project.curse_id
releaseType = 'beta' releaseType = project.curse_release_type
if (project.hasProperty('changelog_file')) { if (project.hasProperty('changelog_file')) {
println("changelog = $changelog_file") println("changelog = $changelog_file")
changelogType = "markdown" changelogType = "markdown"
@ -124,7 +124,7 @@ curseforge {
relations { relations {
requiredLibrary 'shadowfacts-forgelin' requiredLibrary 'shadowfacts-forgelin'
} }
mainArtifact(jar) { mainArtifact(shadowJar) {
displayName = "MatterLink $version" displayName = "MatterLink $version"
} }
} }

View File

@ -112,8 +112,8 @@ curseforge {
apiKey = CURSEFORGE_API_TOKEN apiKey = CURSEFORGE_API_TOKEN
} }
project { project {
id = '287323' id = project.curse_id
releaseType = 'beta' releaseType = project.curse_release_type
if (project.hasProperty('changelog_file')) { if (project.hasProperty('changelog_file')) {
println("changelog = $changelog_file") println("changelog = $changelog_file")
changelogType = "markdown" changelogType = "markdown"
@ -122,7 +122,7 @@ curseforge {
relations { relations {
requiredLibrary 'shadowfacts-forgelin' requiredLibrary 'shadowfacts-forgelin'
} }
mainArtifact(jar) { mainArtifact(shadowJar) {
displayName = "MatterLink $version" displayName = "MatterLink $version"
} }
} }

View File

@ -97,8 +97,8 @@ curseforge {
apiKey = CURSEFORGE_API_TOKEN apiKey = CURSEFORGE_API_TOKEN
} }
project { project {
id = '287323' id = project.curse_id
releaseType = 'beta' releaseType = project.curse_release_type
if (project.hasProperty('changelog_file')) { if (project.hasProperty('changelog_file')) {
println("changelog = $changelog_file") println("changelog = $changelog_file")
changelogType = "markdown" changelogType = "markdown"
@ -107,7 +107,7 @@ curseforge {
relations { relations {
requiredLibrary 'shadowfacts-forgelin' requiredLibrary 'shadowfacts-forgelin'
} }
mainArtifact(jar) { mainArtifact(shadowJar) {
displayName = "MatterLink $version" displayName = "MatterLink $version"
} }
} }

View File

@ -95,8 +95,8 @@ curseforge {
apiKey = CURSEFORGE_API_TOKEN apiKey = CURSEFORGE_API_TOKEN
} }
project { project {
id = '287323' id = project.curse_id
releaseType = 'beta' releaseType = project.curse_release_type
if (project.hasProperty('changelog_file')) { if (project.hasProperty('changelog_file')) {
println("changelog = $changelog_file") println("changelog = $changelog_file")
changelogType = "markdown" changelogType = "markdown"

View File

@ -1,3 +1,5 @@
mod_name = MatterLink mod_name = MatterLink
mod_version = 1.5 mod_version = 1.5
forgelin_version = 1.6.0 forgelin_version = 1.6.0
curse_id = 287323
curse_release_type = beta