Merge 1.19.2 into 1.19.4
This commit is contained in:
commit
c8192ef7e3
14
build.gradle
14
build.gradle
|
|
@ -190,6 +190,20 @@ configure(subprojects.findAll {it.name == "forge" || it.name == "fabric"}) {
|
||||||
apply plugin: 'com.matthewprenger.cursegradle'
|
apply plugin: 'com.matthewprenger.cursegradle'
|
||||||
apply plugin: 'com.modrinth.minotaur'
|
apply plugin: 'com.modrinth.minotaur'
|
||||||
|
|
||||||
|
def copyJarNameConsistent = tasks.register('copyJarNameConsistent', Copy) {
|
||||||
|
from remapJar // shortcut for createJar.outputs.files
|
||||||
|
into project.file("build/libs")
|
||||||
|
rename { name -> "modernfix-" + project.name + "-latest.jar" }
|
||||||
|
}
|
||||||
|
|
||||||
|
def copyJarToBin = tasks.register('copyJarToBin', Copy) {
|
||||||
|
from remapJar // shortcut for createJar.outputs.files
|
||||||
|
into rootProject.file("bin")
|
||||||
|
mustRunAfter "copyJarNameConsistent"
|
||||||
|
}
|
||||||
|
|
||||||
|
tasks.build.dependsOn(copyJarToBin, copyJarNameConsistent)
|
||||||
|
|
||||||
def isBeta = project.version.toString().contains("beta")
|
def isBeta = project.version.toString().contains("beta")
|
||||||
|
|
||||||
curseforge {
|
curseforge {
|
||||||
|
|
|
||||||
|
|
@ -65,13 +65,6 @@ remapJar {
|
||||||
classifier null
|
classifier null
|
||||||
}
|
}
|
||||||
|
|
||||||
task copyJarToBin(type: Copy) {
|
|
||||||
from remapJar // shortcut for createJar.outputs.files
|
|
||||||
into rootProject.file("bin")
|
|
||||||
}
|
|
||||||
|
|
||||||
tasks.build.dependsOn(copyJarToBin)
|
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
classifier "dev"
|
classifier "dev"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -70,13 +70,6 @@ remapJar {
|
||||||
classifier null
|
classifier null
|
||||||
}
|
}
|
||||||
|
|
||||||
task copyJarToBin(type: Copy) {
|
|
||||||
from remapJar // shortcut for createJar.outputs.files
|
|
||||||
into rootProject.file("bin")
|
|
||||||
}
|
|
||||||
|
|
||||||
tasks.build.dependsOn(copyJarToBin)
|
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
classifier "dev"
|
classifier "dev"
|
||||||
manifest {
|
manifest {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user