From 1ac7bee4cccf5c5afb04748f31c3b6a31565844d Mon Sep 17 00:00:00 2001 From: NikkyAI Date: Mon, 19 Feb 2018 21:06:08 +0100 Subject: [PATCH] more curseGradle fixes --- 1.10.2/build.gradle | 6 +++--- 1.11.2/build.gradle | 6 +++--- 1.12.2/build.gradle | 6 +++--- 1.7.10/build.gradle | 4 ++-- gradle.properties | 4 +++- 5 files changed, 14 insertions(+), 12 deletions(-) diff --git a/1.10.2/build.gradle b/1.10.2/build.gradle index 7cc8c16..7cd175d 100644 --- a/1.10.2/build.gradle +++ b/1.10.2/build.gradle @@ -114,8 +114,8 @@ curseforge { apiKey = CURSEFORGE_API_TOKEN } project { - id = '287323' - releaseType = 'beta' + id = project.curse_id + releaseType = project.curse_release_type if (project.hasProperty('changelog_file')) { println("changelog = $changelog_file") changelogType = "markdown" @@ -124,7 +124,7 @@ curseforge { relations { requiredLibrary 'shadowfacts-forgelin' } - mainArtifact(jar) { + mainArtifact(shadowJar) { displayName = "MatterLink $version" } } diff --git a/1.11.2/build.gradle b/1.11.2/build.gradle index ae2a51a..520cbc4 100644 --- a/1.11.2/build.gradle +++ b/1.11.2/build.gradle @@ -112,8 +112,8 @@ curseforge { apiKey = CURSEFORGE_API_TOKEN } project { - id = '287323' - releaseType = 'beta' + id = project.curse_id + releaseType = project.curse_release_type if (project.hasProperty('changelog_file')) { println("changelog = $changelog_file") changelogType = "markdown" @@ -122,7 +122,7 @@ curseforge { relations { requiredLibrary 'shadowfacts-forgelin' } - mainArtifact(jar) { + mainArtifact(shadowJar) { displayName = "MatterLink $version" } } diff --git a/1.12.2/build.gradle b/1.12.2/build.gradle index e42e231..38612a7 100644 --- a/1.12.2/build.gradle +++ b/1.12.2/build.gradle @@ -97,8 +97,8 @@ curseforge { apiKey = CURSEFORGE_API_TOKEN } project { - id = '287323' - releaseType = 'beta' + id = project.curse_id + releaseType = project.curse_release_type if (project.hasProperty('changelog_file')) { println("changelog = $changelog_file") changelogType = "markdown" @@ -107,7 +107,7 @@ curseforge { relations { requiredLibrary 'shadowfacts-forgelin' } - mainArtifact(jar) { + mainArtifact(shadowJar) { displayName = "MatterLink $version" } } diff --git a/1.7.10/build.gradle b/1.7.10/build.gradle index b25a938..f4fb3cf 100644 --- a/1.7.10/build.gradle +++ b/1.7.10/build.gradle @@ -95,8 +95,8 @@ curseforge { apiKey = CURSEFORGE_API_TOKEN } project { - id = '287323' - releaseType = 'beta' + id = project.curse_id + releaseType = project.curse_release_type if (project.hasProperty('changelog_file')) { println("changelog = $changelog_file") changelogType = "markdown" diff --git a/gradle.properties b/gradle.properties index aff8860..ca07612 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,5 @@ mod_name = MatterLink mod_version = 1.5 -forgelin_version = 1.6.0 \ No newline at end of file +forgelin_version = 1.6.0 +curse_id = 287323 +curse_release_type = beta \ No newline at end of file