Merge 1.19.2 into 1.19.4

This commit is contained in:
embeddedt 2023-06-27 11:27:37 -04:00
commit c8192ef7e3
No known key found for this signature in database
GPG Key ID: A69433EC199B5613
3 changed files with 14 additions and 14 deletions

View File

@ -190,6 +190,20 @@ configure(subprojects.findAll {it.name == "forge" || it.name == "fabric"}) {
apply plugin: 'com.matthewprenger.cursegradle'
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")
curseforge {

View File

@ -65,13 +65,6 @@ remapJar {
classifier null
}
task copyJarToBin(type: Copy) {
from remapJar // shortcut for createJar.outputs.files
into rootProject.file("bin")
}
tasks.build.dependsOn(copyJarToBin)
jar {
classifier "dev"
}

View File

@ -70,13 +70,6 @@ remapJar {
classifier null
}
task copyJarToBin(type: Copy) {
from remapJar // shortcut for createJar.outputs.files
into rootProject.file("bin")
}
tasks.build.dependsOn(copyJarToBin)
jar {
classifier "dev"
manifest {