Skip to content

Commit

Permalink
Setup optional dep
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrbysco committed Jun 27, 2023
1 parent afb97e8 commit 120ed89
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gradle/curseforge.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ if (System.getenv().CURSEFORGE_KEY) {
mainArtifact(jar)
changelog = file("$project.rootDir/changelog.md")
changelogType = 'markdown'

relations {
optionalDependency "crafttweaker"
}
}
}
}
4 changes: 4 additions & 0 deletions gradle/modrinth.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,9 @@ if (System.getenv().MODRINTH_KEY) {
changelog = fileContents
gameVersions = ["${mc_version}"]
loaders = ["forge"]

dependencies {
optional.project "crafttweaker"
}
}
}

0 comments on commit 120ed89

Please sign in to comment.