Commit Graph

679 Commits

Author SHA1 Message Date
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
shedaniel
c9b952b9ac Suffix _forge for forge remapped jars 2021-01-07 01:01:11 +08:00
Juuxel
e61f3fb362 Improve debugging repo instructions and fix typos (#323)
* Improve debugging repo instructions and fix typos

* Fix typo in README
2021-01-03 21:53:39 +00:00
modmuss50
1007c55ad6 Improve the readme a little.
Feel free to improve via PRs
2021-01-03 21:39:45 +00:00
shedaniel
b918ef3bc0 Filter jar signing info in MANIFEST.MF properly 2021-01-02 14:02:44 +08:00
modmuss50
11b62989e7 Cleanup output files when remap fails. Fixes #321 2020-12-30 20:34:34 +00:00
modmuss50
841fc5a4db Fix classifier handling for remapped dependencies 2020-12-30 20:12:33 +00:00
shedaniel
49f3b7209e Allow the generation of tiny mappings with srg without being in a forge environment 2020-12-30 18:47:54 +08:00
shedaniel
7a1bf32134 Allow specifying multiple mixin configs for forge 2020-12-30 15:58:41 +08:00
shedaniel
e507000686 Multi-thread remapping, fix parameter annotations for forge, update CleanLoomBinaries to include forge jars, make forge jars respect refresh dependencies. 2020-12-28 20:17:19 +08:00
shedaniel
e4682d562c Fix github actions 2020-12-28 02:27:15 +08:00