Skip to content

Commit

Permalink
fix modrinth task
Browse files Browse the repository at this point in the history
  • Loading branch information
ryderbelserion committed Jul 5, 2024
1 parent 75367df commit 76e3c34
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@ tasks {

assemble {
dependsOn(reobfJar)

doLast {
copy {
from(reobfJar.get())
into(rootProject.projectDir.resolve("jars"))
}
}
}

shadowJar {
Expand Down Expand Up @@ -98,7 +105,7 @@ tasks {

changelog.set(content)

uploadFile.set(reobfJar.get())
uploadFile.set(rootProject.projectDir.resolve("jars/${rootProject.name}-${rootProject.version}.jar"))

syncBodyFrom.set(rootProject.file("README.md").readText(Charsets.UTF_8))

Expand Down

0 comments on commit 76e3c34

Please sign in to comment.