Skip to content

Commit

Permalink
Update build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
TexBlock authored Sep 24, 2023
1 parent 5a19419 commit 8c609b1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ modrinth {
additionalFiles = [sourcesJar]
gameVersions = ["1.20", "1.20.1"]
loaders = ["forge", "neoforge"]
dependencies {
required.project("mafglib")
}
}

task publishCurseForge(type: net.darkhax.curseforgegradle.TaskPublishCurseForge) {
Expand All @@ -90,6 +93,7 @@ task publishCurseForge(type: net.darkhax.curseforgegradle.TaskPublishCurseForge)
mainFile.addModLoader("Forge", "NeoForge")
mainFile.addJavaVersion("Java 17", "Java 18")
mainFile.addGameVersion("1.20", "1.20.1")
mainFile.addRequirement("mafglib")

def sourcesFile = mainFile.withAdditionalFile(sourcesJar)
sourcesFile.changelog = file("CHANGELOG.md")
Expand Down

0 comments on commit 8c609b1

Please sign in to comment.