|
1 | | -//version: 1656003793falsepattern40 |
| 1 | +//version: 1656003793falsepattern41 |
2 | 2 | /* |
3 | 3 | DO NOT CHANGE THIS FILE! |
4 | 4 |
|
@@ -126,7 +126,6 @@ propertyDefaultIfUnset("mavenArtifactId", "") |
126 | 126 | propertyDefaultIfUnset("hasMixinDeps", false) |
127 | 127 | propertyDefaultIfUnset("mixinPreinitConfig", "") |
128 | 128 | propertyDefaultIfUnset("remapStubs", false) |
129 | | -propertyDefaultIfUnset("useObsoleteSpongeMixins", false) |
130 | 129 |
|
131 | 130 | propertyDefaultIfUnset("modrinthProjectId", "") |
132 | 131 | propertyDefaultIfUnset("modrinthDependencies", "") |
@@ -284,54 +283,29 @@ repositories { |
284 | 283 | url = "https://gregtech.overminddl1.com/" |
285 | 284 | } |
286 | 285 | if(usesMixins.toBoolean() || hasMixinDeps.toBoolean()) { |
287 | | - if (useObsoleteSpongeMixins.toBoolean()) { |
288 | | - maven { |
289 | | - name = "sponge" |
290 | | - url = "https://mvn.falsepattern.com/sponge" |
291 | | - } |
| 286 | + maven { |
| 287 | + name = "sponge" |
| 288 | + url = "https://mvn.falsepattern.com/releases" |
292 | 289 | } |
293 | 290 | maven { |
294 | | - url = "https://mvn.falsepattern.com/jitpack" |
| 291 | + name = "sponge2" |
| 292 | + url = "https://mvn.falsepattern.com/sponge" |
295 | 293 | } |
296 | 294 | } |
297 | 295 | } |
298 | 296 |
|
299 | 297 | dependencies { |
300 | 298 | if(usesMixins.toBoolean()) { |
301 | | - if (useObsoleteSpongeMixins.toBoolean()) { |
302 | | - annotationProcessor("org.ow2.asm:asm-debug-all:5.0.3") |
303 | | - annotationProcessor("com.google.guava:guava:24.1.1-jre") |
304 | | - annotationProcessor("com.google.code.gson:gson:2.8.6") |
305 | | - annotationProcessor("org.spongepowered:mixin:0.8-20200110.181151-15") |
306 | | - // using 0.8 to workaround a issue in 0.7 which fails mixin application |
307 | | - compile("org.spongepowered:mixin:0.7.11-20180703.121122-1") { |
308 | | - // Mixin includes a lot of dependencies that are too up-to-date |
309 | | - exclude module: "launchwrapper" |
310 | | - exclude module: "guava" |
311 | | - exclude module: "gson" |
312 | | - exclude module: "commons-io" |
313 | | - exclude module: "log4j-core" |
314 | | - } |
315 | | - compile("com.github.GTNewHorizons:SpongeMixins:1.3.3:dev") |
316 | | - } else { |
317 | | - compile("com.github.tox1cozZ:mixin-booter-legacy:1.1.2") |
318 | | - annotationProcessor("com.github.tox1cozZ:mixin-booter-legacy:1.1.2:processor") |
319 | | - } |
320 | | - } |
321 | | - if(hasMixinDeps.toBoolean()) { |
322 | | - if (useObsoleteSpongeMixins.toBoolean()) { |
323 | | - runtime("org.spongepowered:mixin:0.7.11-20180703.121122-1") { |
324 | | - // Mixin includes a lot of dependencies that are too up-to-date |
325 | | - exclude module: "launchwrapper" |
326 | | - exclude module: "guava" |
327 | | - exclude module: "gson" |
328 | | - exclude module: "commons-io" |
329 | | - exclude module: "log4j-core" |
330 | | - } |
331 | | - runtime("com.github.GTNewHorizons:SpongeMixins:1.3.3:dev") |
332 | | - } else { |
333 | | - runtime("com.github.tox1cozZ:mixin-booter-legacy:1.1.2") |
334 | | - } |
| 299 | + annotationProcessor("org.ow2.asm:asm-debug-all:5.0.3") |
| 300 | + annotationProcessor("com.google.guava:guava:24.1.1-jre") |
| 301 | + annotationProcessor("com.google.code.gson:gson:2.8.6") |
| 302 | + annotationProcessor("org.spongepowered:mixin:0.8.3-gasstation") |
| 303 | + compile("org.spongepowered:mixin:0.8.3-gasstation") |
| 304 | + compile("com.falsepattern:gasstation-mc1.7.10:7370815:dev") |
| 305 | + } else if(hasMixinDeps.toBoolean()) { |
| 306 | + runtime("org.spongepowered:mixin:0.8.3-gasstation") |
| 307 | + runtime("com.llamalad7:MixinExtras:0.0.12-gasstation") |
| 308 | + runtime("com.falsepattern:gasstation-mc1.7.10:7370815:dev") |
335 | 309 | } |
336 | 310 | } |
337 | 311 |
|
|
0 commit comments