Commit Graph

1125 Commits

Author SHA1 Message Date
shedaniel
056d46f4d4 Add MCP docs support and param names 2021-01-30 18:25:40 +08:00
shedaniel
1c144a55ca Merge remote-tracking branch 'architectury/dev/0.6-forge' into dev/0.6-forge 2021-01-30 16:47:25 +08:00
shedaniel
992bd180b0 Primitive MCP Support! 2021-01-30 16:47:17 +08:00
NinjaPhenix
20248dc805 Fixes refmap errors in sub-subprojects by replacing any subsequent : with a _. 2021-01-29 21:13:50 +00:00
shedaniel
751509af4a Mark useFabricMixin = true by default. 2021-01-30 02:26:39 +08:00
modmuss50
6a315be278 Improve run configs (#318) (#338)
Co-authored-by: ShadewRG <onankman@gmail.com>
Co-authored-by: UndeadCat | Shadew <redgalaxysw@gmail.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-01-29 18:04:39 +00:00
shedaniel
55436cfda0 Append platform suffix again 2021-01-30 01:50:23 +08:00
shedaniel
17fb2b4656 Cache the checksum of asset index files. (#335)
* Cache the checksum of asset index files.

* Resolve reviews
2021-01-29 15:38:46 +00:00
shedaniel
71392052eb Data Generator for Forge 2021-01-29 10:39:20 +08:00
modmuss50
48d4243be6 Merge remote-tracking branch 'FabricMC/dev/0.6' into dev/0.6 2021-01-28 21:17:12 +00:00
modmuss50
c1fcd93a89 Dont add the mojang maven repo twice.
Might speed some things up as well due to ordering
2021-01-28 21:16:56 +00:00
Bytzo
16f72e1c95 Set classpath before compileJava task (#330) (#333) 2021-01-26 18:08:19 +00:00
shedaniel
b880d3f9d5 Don't add tasks before run to idea anymore for arch 2021-01-26 11:34:52 +08:00
Chocohead
ba3a1e4d9c Use the given manifest version hash if possible (#337) 2021-01-24 14:39:52 +00: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
modmuss50
f7efac5d18 Revert previous attempt at fixing genSources when loom is applied via buildSrc 2021-01-21 21:47:32 +00:00
modmuss50
34a9d2316c Improve error handling around access widener remapping. Closes #311 2021-01-21 20:30:08 +00:00
modmuss50
d91b722c35 Another attempt at fixing issues with fernflower's classpath 2021-01-21 20:09:48 +00:00
modmuss50
4a30993da7 Apply all buildscript configurations across all parent projects to try and fix fernflower classpath issues again.
If you have any better suggestions please let me know.
2021-01-21 19:40:59 +00: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
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
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
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