Skip to content

Commit

Permalink
post the curse link in the webhook
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredlll08 committed Aug 2, 2022
1 parent 5eec825 commit 60d2b9e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions fabric/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ plugins {
evaluationDependsOn(":vanilla")

val mcVersion = extra["minecraft.version"] as String
val modCurse = extra["mod.curse"] as String

base.archivesName.set("${extra["mod.name"]}-fabric-$mcVersion")

Expand Down Expand Up @@ -102,6 +103,9 @@ tasks {
addGameVersion("Fabric")
addGameVersion(mcVersion)
addRequirement("crafttweaker")
doLast {
project.ext.set("curse_file_url", "${modCurse}/files/${curseFileId}")
}
}
dependsOn(project.tasks.remapJar)
}
Expand Down
5 changes: 5 additions & 0 deletions forge/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ evaluationDependsOn(":vanilla")

val modId = project.extra["mod.id"] as String
val mcVersion = extra["minecraft.version"] as String
val modCurse = extra["mod.curse"] as String

base.archivesName.set("${extra["mod.name"]}-forge-$mcVersion")

Expand Down Expand Up @@ -110,6 +111,10 @@ tasks {
addJavaVersion("Java ${project.extra["java.version"]}")
addGameVersion(mcVersion)
addRequirement("crafttweaker")

doLast {
project.ext.set("curse_file_url", "${modCurse}/files/${curseFileId}")
}
}
}
jar {
Expand Down

0 comments on commit 60d2b9e

Please sign in to comment.