curseforge uploaded recompiled the wrong files and everything broke
This commit is contained in:
parent
83d7028280
commit
c42f91c966
|
@ -12,6 +12,7 @@ buildscript {
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id "com.github.johnrengelman.shadow" version "1.2.4"
|
id "com.github.johnrengelman.shadow" version "1.2.4"
|
||||||
|
id 'com.matthewprenger.cursegradle' version '1.0.10'
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: 'net.minecraftforge.gradle.forge'
|
apply plugin: 'net.minecraftforge.gradle.forge'
|
||||||
|
@ -106,4 +107,25 @@ reobf {
|
||||||
shadowJar { mappingType = 'SEARGE' }
|
shadowJar { mappingType = 'SEARGE' }
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.reobfShadowJar.mustRunAfter shadowJar
|
tasks.reobfShadowJar.mustRunAfter shadowJar
|
||||||
|
|
||||||
|
curseforge {
|
||||||
|
if (project.hasProperty('CURSEFORGE_API_TOKEN') && project.hasProperty('release')) {
|
||||||
|
apiKey = CURSEFORGE_API_TOKEN
|
||||||
|
}
|
||||||
|
project {
|
||||||
|
id = '287323'
|
||||||
|
releaseType = 'beta'
|
||||||
|
if (project.hasProperty('changelog_file')) {
|
||||||
|
println("changelog = $changelog_file")
|
||||||
|
changelogType = "markdown"
|
||||||
|
changelog = file(changelog_file)
|
||||||
|
}
|
||||||
|
relations {
|
||||||
|
requiredLibrary 'shadowfacts-forgelin'
|
||||||
|
}
|
||||||
|
mainArtifact(jar) {
|
||||||
|
displayName = "MatterLink $version"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -11,6 +11,7 @@ buildscript {
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id "com.github.johnrengelman.shadow" version "1.2.4"
|
id "com.github.johnrengelman.shadow" version "1.2.4"
|
||||||
|
id 'com.matthewprenger.cursegradle' version '1.0.10'
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: 'net.minecraftforge.gradle.forge'
|
apply plugin: 'net.minecraftforge.gradle.forge'
|
||||||
|
@ -104,4 +105,25 @@ reobf {
|
||||||
shadowJar { mappingType = 'SEARGE' }
|
shadowJar { mappingType = 'SEARGE' }
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.reobfShadowJar.mustRunAfter shadowJar
|
tasks.reobfShadowJar.mustRunAfter shadowJar
|
||||||
|
|
||||||
|
curseforge {
|
||||||
|
if (project.hasProperty('CURSEFORGE_API_TOKEN') && project.hasProperty('release')) {
|
||||||
|
apiKey = CURSEFORGE_API_TOKEN
|
||||||
|
}
|
||||||
|
project {
|
||||||
|
id = '287323'
|
||||||
|
releaseType = 'beta'
|
||||||
|
if (project.hasProperty('changelog_file')) {
|
||||||
|
println("changelog = $changelog_file")
|
||||||
|
changelogType = "markdown"
|
||||||
|
changelog = file(changelog_file)
|
||||||
|
}
|
||||||
|
relations {
|
||||||
|
requiredLibrary 'shadowfacts-forgelin'
|
||||||
|
}
|
||||||
|
mainArtifact(jar) {
|
||||||
|
displayName = "MatterLink $version"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -11,6 +11,7 @@ buildscript {
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id "com.github.johnrengelman.shadow" version "1.2.4"
|
id "com.github.johnrengelman.shadow" version "1.2.4"
|
||||||
|
id 'com.matthewprenger.cursegradle' version '1.0.10'
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: 'net.minecraftforge.gradle.forge'
|
apply plugin: 'net.minecraftforge.gradle.forge'
|
||||||
|
@ -89,4 +90,25 @@ reobf {
|
||||||
shadowJar { mappingType = 'SEARGE' }
|
shadowJar { mappingType = 'SEARGE' }
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.reobfShadowJar.mustRunAfter shadowJar
|
tasks.reobfShadowJar.mustRunAfter shadowJar
|
||||||
|
|
||||||
|
curseforge {
|
||||||
|
if (project.hasProperty('CURSEFORGE_API_TOKEN') && project.hasProperty('release')) {
|
||||||
|
apiKey = CURSEFORGE_API_TOKEN
|
||||||
|
}
|
||||||
|
project {
|
||||||
|
id = '287323'
|
||||||
|
releaseType = 'beta'
|
||||||
|
if (project.hasProperty('changelog_file')) {
|
||||||
|
println("changelog = $changelog_file")
|
||||||
|
changelogType = "markdown"
|
||||||
|
changelog = file(changelog_file)
|
||||||
|
}
|
||||||
|
relations {
|
||||||
|
requiredLibrary 'shadowfacts-forgelin'
|
||||||
|
}
|
||||||
|
mainArtifact(jar) {
|
||||||
|
displayName = "MatterLink $version"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -9,6 +9,10 @@ buildscript {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
plugins {
|
||||||
|
id 'com.matthewprenger.cursegradle' version '1.0.10'
|
||||||
|
}
|
||||||
|
|
||||||
apply plugin: 'forge'
|
apply plugin: 'forge'
|
||||||
|
|
||||||
version = project.mc_version + "-" + project.mod_version
|
version = project.mc_version + "-" + project.mod_version
|
||||||
|
@ -84,4 +88,25 @@ jar {
|
||||||
exclude "META-INF", "META-INF/**"
|
exclude "META-INF", "META-INF/**"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
curseforge {
|
||||||
|
if (project.hasProperty('CURSEFORGE_API_TOKEN') && project.hasProperty('release')) {
|
||||||
|
apiKey = CURSEFORGE_API_TOKEN
|
||||||
|
}
|
||||||
|
project {
|
||||||
|
id = '287323'
|
||||||
|
releaseType = 'beta'
|
||||||
|
if (project.hasProperty('changelog_file')) {
|
||||||
|
println("changelog = $changelog_file")
|
||||||
|
changelogType = "markdown"
|
||||||
|
changelog = file(changelog_file)
|
||||||
|
}
|
||||||
|
relations {
|
||||||
|
requiredLibrary 'shadowfacts-forgelin'
|
||||||
|
}
|
||||||
|
mainArtifact(jar) {
|
||||||
|
displayName = "MatterLink $version"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
27
build.gradle
27
build.gradle
|
@ -1,6 +1,5 @@
|
||||||
plugins {
|
plugins {
|
||||||
id "org.jetbrains.kotlin.jvm" version '1.2.21'
|
id "org.jetbrains.kotlin.jvm" version '1.2.21'
|
||||||
id 'com.matthewprenger.cursegradle' version '1.0.10'
|
|
||||||
id 'idea'
|
id 'idea'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -33,31 +32,5 @@ subprojects {
|
||||||
url = "http://maven.shadowfacts.net/"
|
url = "http://maven.shadowfacts.net/"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
version = mc_version + "-" + mod_version
|
|
||||||
|
|
||||||
apply plugin: 'com.matthewprenger.cursegradle'
|
|
||||||
curseforge {
|
|
||||||
if (project.hasProperty('CURSEFORGE_API_TOKEN') && project.hasProperty('release')) {
|
|
||||||
apiKey = CURSEFORGE_API_TOKEN
|
|
||||||
}
|
|
||||||
project {
|
|
||||||
id = '287323'
|
|
||||||
releaseType = 'beta'
|
|
||||||
if (project.hasProperty('changelog_file')) {
|
|
||||||
println("changelog = $changelog_file")
|
|
||||||
changelogType = "markdown"
|
|
||||||
changelog = file(changelog_file)
|
|
||||||
}
|
|
||||||
relations {
|
|
||||||
requiredLibrary 'shadowfacts-forgelin'
|
|
||||||
}
|
|
||||||
mainArtifact(jar) {
|
|
||||||
displayName = "MatterLink $version"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue