|
| 1 | +val IS_CI = System.getenv("CI") == "true" |
| 2 | + |
1 | 3 | plugins { |
2 | 4 | `multiloader-loader` |
3 | 5 | id("net.neoforged.moddev.legacyforge") |
@@ -79,65 +81,78 @@ dependencies { |
79 | 81 | modImplementation(commonMod.modrinth("structure-gel-api", structureGelApiVersion)) { isTransitive = false } |
80 | 82 | } |
81 | 83 |
|
82 | | - // Better modlist |
83 | | - val betterModListDeps: List<Dependency> = fletchingTable.modrinthBundle("better-modlist", commonMod.mc, "forge") { |
84 | | - recursive = true |
85 | | - include("required", "optional", "embedded") |
86 | | - } |
87 | | - for (mod in betterModListDeps) modImplementation(mod) |
| 84 | + if(!IS_CI) { |
| 85 | + // Better modlist |
| 86 | + val betterModListDeps: List<Dependency> = |
| 87 | + fletchingTable.modrinthBundle("better-modlist", commonMod.mc, "forge") { |
| 88 | + recursive = true |
| 89 | + include("required", "optional", "embedded") |
| 90 | + } |
| 91 | + for (mod in betterModListDeps) modImplementation(mod) |
88 | 92 |
|
89 | | - // ChoiceTheorem's Overhauled Village |
90 | | - val ctov: List<Dependency> = fletchingTable.modrinthBundle("ct-overhaul-village", commonMod.mc, "forge") { |
91 | | - recursive = true |
92 | | - include("required", "optional", "embedded") |
93 | | - } |
94 | | - for (mod in ctov) modImplementation(mod) |
| 93 | + // ChoiceTheorem's Overhauled Village |
| 94 | + val ctov: List<Dependency> = fletchingTable.modrinthBundle("ct-overhaul-village", commonMod.mc, "forge") { |
| 95 | + recursive = true |
| 96 | + include("required", "optional", "embedded") |
| 97 | + } |
| 98 | + for (mod in ctov) modImplementation(mod) |
95 | 99 |
|
96 | | - // Fantasy structures |
97 | | - val fantasyStructures: List<Dependency> = fletchingTable.modrinthBundle("fantasy-structures-(by-berezka)", commonMod.mc, "forge") { |
98 | | - recursive = true |
99 | | - include("required", "optional", "embedded") |
100 | | - } |
101 | | - for (mod in fantasyStructures) modImplementation(mod) |
| 100 | + // Fantasy structures |
| 101 | + val fantasyStructures: List<Dependency> = |
| 102 | + fletchingTable.modrinthBundle("fantasy-structures-(by-berezka)", commonMod.mc, "forge") { |
| 103 | + recursive = true |
| 104 | + include("required", "optional", "embedded") |
| 105 | + } |
| 106 | + for (mod in fantasyStructures) modImplementation(mod) |
102 | 107 |
|
103 | | - // Alex Caves |
104 | | - val alexCavesWithDeps: List<Dependency> = fletchingTable.modrinthBundle("alexs-caves", commonMod.mc, "forge") { |
105 | | - recursive = true |
106 | | - include("required", "optional", "embedded") |
107 | | - } |
108 | | - for (mod in alexCavesWithDeps) modImplementation(mod) |
| 108 | + // Alex Caves |
| 109 | + val alexCavesWithDeps: List<Dependency> = fletchingTable.modrinthBundle("alexs-caves", commonMod.mc, "forge") { |
| 110 | + recursive = true |
| 111 | + include("required", "optional", "embedded") |
| 112 | + } |
| 113 | + for (mod in alexCavesWithDeps) modImplementation(mod) |
109 | 114 |
|
110 | | - // Aquamira |
111 | | - val aquamiraeWithDeps: List<Dependency> = fletchingTable.modrinthBundle("aquamirae", commonMod.mc, "forge") { |
112 | | - recursive = true |
113 | | - include("required", "optional", "embedded") |
114 | | - } |
115 | | - for (mod in aquamiraeWithDeps) modImplementation(mod) |
| 115 | + // Aquamira |
| 116 | + val aquamiraeWithDeps: List<Dependency> = fletchingTable.modrinthBundle("aquamirae", commonMod.mc, "forge") { |
| 117 | + recursive = true |
| 118 | + include("required", "optional", "embedded") |
| 119 | + } |
| 120 | + for (mod in aquamiraeWithDeps) modImplementation(mod) |
116 | 121 |
|
117 | | - val fossilsAndArcheologyRevivalWithDeps: List<Dependency> = fletchingTable.modrinthBundle("fossils-and-archeology-revival", commonMod.mc, "forge") { |
118 | | - recursive = true |
119 | | - include("required", "optional", "embedded") |
120 | | - } |
121 | | - for (mod in fossilsAndArcheologyRevivalWithDeps) modImplementation(mod) |
| 122 | + val fossilsAndArcheologyRevivalWithDeps: List<Dependency> = |
| 123 | + fletchingTable.modrinthBundle("fossils-and-archeology-revival", commonMod.mc, "forge") { |
| 124 | + recursive = true |
| 125 | + include("required", "optional", "embedded") |
| 126 | + } |
| 127 | + for (mod in fossilsAndArcheologyRevivalWithDeps) modImplementation(mod) |
122 | 128 |
|
123 | | - val dungeonNowLoadingWithDeps: List<Dependency> = fletchingTable.modrinthBundle("dungeon-now-loading", commonMod.mc, "forge") { |
124 | | - recursive = true |
125 | | - include("required", "optional", "embedded") |
126 | | - } |
127 | | - for (mod in dungeonNowLoadingWithDeps) modImplementation(mod) |
128 | | - |
129 | | - //modImplementation(fletchingTable.modrinth("fungal-infectionspore", commonMod.mc, "forge")) |
130 | | - //modImplementation(fletchingTable.modrinth("dungeons-enhanced", commonMod.mc, "forge")) |
131 | | - //modImplementation(fletchingTable.modrinth("legendary-monsters", commonMod.mc, "forge")) |
132 | | - /* |
133 | | - val endersCataclysmWithDeps: List<Dependency> = fletchingTable.modrinthBundle("l_enders-cataclysm", commonMod.mc, "forge") { |
134 | | - recursive = true |
135 | | - include("required", "optional", "embedded") |
136 | | - } |
137 | | - for (mod in endersCataclysmWithDeps) modImplementation(mod)*/ |
| 129 | + val dungeonNowLoadingWithDeps: List<Dependency> = |
| 130 | + fletchingTable.modrinthBundle("dungeon-now-loading", commonMod.mc, "forge") { |
| 131 | + recursive = true |
| 132 | + include("required", "optional", "embedded") |
| 133 | + } |
| 134 | + for (mod in dungeonNowLoadingWithDeps) modImplementation(mod) |
138 | 135 |
|
139 | | - // For debugging |
140 | | - // modImplementation(modrinth("blue-skies", "1.3.31")) { transitive = false } |
| 136 | + // Explorations |
| 137 | + val explorations: List<Dependency> = fletchingTable.modrinthBundle("explorations", commonMod.mc, "forge") { |
| 138 | + recursive = true |
| 139 | + include("required", "optional", "embedded") |
| 140 | + } |
| 141 | + for (mod in explorations) modImplementation(mod) |
| 142 | + |
| 143 | + //modImplementation(fletchingTable.modrinth("fungal-infectionspore", commonMod.mc, "forge")) |
| 144 | + //modImplementation(fletchingTable.modrinth("dungeons-enhanced", commonMod.mc, "forge")) |
| 145 | + //modImplementation(fletchingTable.modrinth("legendary-monsters", commonMod.mc, "forge")) |
| 146 | + /* |
| 147 | + val endersCataclysmWithDeps: List<Dependency> = fletchingTable.modrinthBundle("l_enders-cataclysm", commonMod.mc, "forge") { |
| 148 | + recursive = true |
| 149 | + include("required", "optional", "embedded") |
| 150 | + } |
| 151 | + for (mod in endersCataclysmWithDeps) modImplementation(mod)*/ |
| 152 | + |
| 153 | + // For debugging |
| 154 | + // modImplementation(modrinth("blue-skies", "1.3.31")) { transitive = false } |
| 155 | + } |
141 | 156 | } |
142 | 157 |
|
143 | 158 | legacyForge { |
|
0 commit comments