File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -116,6 +116,7 @@ publishMods {
116116 version = " ${ mod_version} "
117117 type = STABLE
118118
119+
119120 def createOptions = (String platform, String taskName) -> {
120121 publishOptions {
121122 file = project. provider { project(" :$platform " ). tasks[taskName] }. flatMap { it. archiveFile }
@@ -140,12 +141,16 @@ publishMods {
140141 curseforge(" curseforgeNeoforge" ) {
141142 from(curseForgeOptions, createOptions(" neoforge" , " jar" ))
142143 projectId = curseforge_id
144+ clientRequired = true
145+ serverRequired = true
143146 }
144147
145148 curseforge(" curseforgeFabric" ) {
146149 from(curseForgeOptions, createOptions(" fabric" , " remapJar" ))
147150 projectId = curseforge_id
148151 requires(" fabric-api" )
152+ clientRequired = true
153+ serverRequired = true
149154 }
150155
151156 modrinth(" modrinthNeoforge" ) {
You can’t perform that action at this time.
0 commit comments