Commit Graph

689 Commits

Author SHA1 Message Date
shedaniel
71392052eb Data Generator for Forge 2021-01-29 10:39:20 +08:00
shedaniel
b880d3f9d5 Don't add tasks before run to idea anymore for arch 2021-01-26 11:34:52 +08:00
shedaniel
10f5eb0612 fix mixinConfig 2021-01-24 20:11:49 +08:00
shedaniel
ed9100c418 Deprecate mixinConfig in favor of mixinConfig method to add to the list 2021-01-24 18:32:40 +08:00
shedaniel
dfb5f5dd83 Update fabric mixin, fix #3, reduce logger spam 2021-01-24 18:32:17 +08:00
shedaniel
5f492cc8c6 That was the wrong indent 2021-01-23 22:49:01 +08:00
shedaniel
5f9ab67454 Silence ClassTransformer 2021-01-23 22:47:42 +08:00
shedaniel
d7ea6fc0d1 Override minVersion for dependencies. 2021-01-21 19:43:32 +08:00
shedaniel
61ac660435 Auto generate vscode run configurations, inject our own pre launch tasks to tasks.json 2021-01-20 22:51:15 +08:00
shedaniel
ba3735c68e Allow configuring additional local sourceSets. 2021-01-20 20:00:06 +08:00
shedaniel
c57b28e5b6 Merge remote-tracking branch 'FabricMC/dev/0.6' into dev/0.6-forge 2021-01-20 14:48:07 +08:00
modmuss50
b622544cbe Dont remap dependency sources when building on CI services.
Use `-Dfabric.loom.ci=false` to force disable
2021-01-19 22:15:23 +00:00
modmuss50
58e94f2db3 Centralise refreshDeps variable.
Makes it easier to hack it to always enable for profiling.
2021-01-19 21:58:39 +00:00
shedaniel
fd391958c0 Adding Constant of the plugin id, don't duplicate the classpath if it is already the root project. 2021-01-19 22:02:33 +08:00
shedaniel
b57e5a8227 Make genSources work in sub-projects without loom on the classpath (the root project can apply the plugin without adding it to the classpath!) 2021-01-19 21:51:19 +08:00
shedaniel
4ece44daad Cache the checksums on local asset files. 2021-01-19 16:20:39 +08:00
shedaniel
5bc74cea90 Multi-thread native unpacking. 2021-01-19 10:50:02 +08:00
shedaniel
34d3475790 Multi-thread assets checking, saving 500ms here. 2021-01-19 09:58:06 +08:00
shedaniel
9d1a2b1da1 Use Project#javaexec instead of creating a JavaExec task 2021-01-19 09:25:36 +08:00
shedaniel
ff30e23345 Apply license header 2021-01-19 09:16:36 +08:00
shedaniel
dd4ce6db5f Merge remote-tracking branch 'FabricMC/dev/0.6' into dev/0.6-forge
# Conflicts:
#	src/main/java/net/fabricmc/loom/LoomGradleExtension.java
2021-01-19 09:14:29 +08:00
modmuss50
a436eb7690 1 Infinite Loop 2021-01-18 22:10:44 +00:00
shedaniel
5b61b2b230 Fix checkstyle 2021-01-18 14:58:10 +08:00
shedaniel
854ffa813b Mark Forge repo as ignoreGradleMetadataRedirection if possible 2021-01-18 14:50:07 +08:00
Juuxel
3074054507 Fix issue with resolving minecraft libraries on the wrong thread 2021-01-18 11:20:21 +08:00
Juuxel
4a1d31a110 Fix forgeInject compilation because of missing dependencies on Gradle 6 2021-01-18 11:16:01 +08:00
shedaniel
782323e568 Fix failed getMixinVersion resolution 2021-01-18 09:18:16 +08:00
shedaniel
e88f78bc62 Merge remote-tracking branch 'FabricMC/dev/0.6' into dev/0.6-forge
# Conflicts:
#	.github/workflows/test-push.yml
#	build.gradle
#	src/main/java/net/fabricmc/loom/util/Constants.java
2021-01-18 09:08:38 +08:00
shedaniel
3a49510c01 Merge remote-tracking branch 'FabricMC/dev/0.6' into dev/0.6-forge 2021-01-18 09:07:03 +08:00
modmuss50
47097c65ce Gradle 7 (and hopefully 8) support (#332)
* First pass on gradle 7 support

* Fix Gradle 8 deprecation warnings

* Add a deprecated compile constant
2021-01-17 18:34:22 +00:00
modmuss50
f0bb05a205 Remove dep on procyon-fabric-compilertools I cannot see its use 2021-01-16 13:57:43 +00:00
modmuss50
b4a8c306e9 Fix build.
Thanks gradle for changing versioning style..
2021-01-16 13:52:25 +00:00
modmuss50
20dd62d5b4 Update a number of dependencies 2021-01-16 13:50:45 +00:00
shedaniel
6f10845562 Allow switching to fabric mixin in forge, allowing advanced refmap remapper, making yarn for forge working. 2021-01-13 20:32:37 +08:00
shedaniel
3986279215 Properly reapply changed ATs, Improve ATs performance. 2021-01-12 12:50:41 +08:00
shedaniel
eb55ece343 Fix build 2021-01-12 10:01:05 +08:00
shedaniel
03a9890e42 Let's not multi-thread ATs 2021-01-12 09:58:33 +08:00
shedaniel
fed9b0a4e7 Fix setup errors + Multi-thread forge patching more. 2021-01-11 14:36:15 +08:00
shedaniel
5317263e58 Update README.md 2021-01-11 00:37:06 +08:00
shedaniel
4de37503a1 Make gradlew dependencies not break with mojmap 2021-01-11 00:27:40 +08:00
shedaniel
d44b56c128 Not depend on ForgeGradle and remap using SpecialSource directly 2021-01-11 00:27:15 +08:00
shedaniel
e0f22f23da Refactor SrgNamedWriter 2021-01-10 17:12:42 +08:00
shedaniel
39a3a301cf Refactor InnerClassRemapper 2021-01-10 17:12:38 +08:00
shedaniel
0793ac224e Remap forge added inner classes correctly 2021-01-08 11:38:49 +08:00
shedaniel
16e5b39eba Force forge mod detection 2021-01-08 09:58:05 +08:00
modmuss50
9de836b2c4 Remove usage of internal kotlin class, should fix crash with kotlin 1.4. Closes #324 2021-01-07 20:35:43 +00:00
shedaniel
0e64ffa086 Migrate to our fork of mercury 2021-01-08 01:09:28 +08:00
shedaniel
99d55d64b9 Log what dependency is empty 2021-01-07 13:30:15 +08:00
shedaniel
6ba0cc5ffb Properly apply dirty access transformers 2021-01-07 01:01:53 +08:00
shedaniel
e472bd84ec Delete jar if failed to remap 2021-01-07 01:01:49 +08:00