Commit Graph

959 Commits

Author SHA1 Message Date
modmuss50
c73b3735cf Fix ProcessedNamedMinecraftProvider always re-processing jars. 2022-10-29 22:03:32 +01:00
modmuss50
c46abf8ac4 Update deps, test fixes, and fix github actions deprecation warnings. (#745) 2022-10-29 16:57:06 +01:00
modmuss50
a3c64d5301 Update Fernflower, CFR and Mercury (JDT) (#723) 2022-10-26 12:55:22 +01:00
Juuz
896dcf987a Update Checkstyle config to match Filament (#744)
Allows the use of var in all locations.
2022-10-26 12:54:01 +01:00
modmuss50
196ee87953 Merge pull request #737
New Jar Processor API
Shared Service improvements
FMJ 2.0 support
Move Minecraft jars to maven structure
Improve intelij source attachment
2022-10-26 12:53:24 +01:00
modmuss50
e7bee0daa8 Store minecraft jars in a maven repo instead of an ivy repo.
Improve intelij support for attaching sources.
2022-10-26 12:51:08 +01:00
modmuss50
5f67780824 Update nightly gradle version. 2022-10-26 12:51:08 +01:00
modmuss50
ccc3e77fe1 Only use mixin mappings from projects with the same mapping id. 2022-10-26 12:51:08 +01:00
modmuss50
00a3b7ff4e Move Iface injection to new MinecraftJarProcessor API 2022-10-26 12:51:08 +01:00
modmuss50
47987b2aa3 Cleanup configuration related code by passing ConfigContext 2022-10-26 12:51:08 +01:00
modmuss50
06074ae73c Start on improved mappings service 2022-10-26 12:47:36 +01:00
modmuss50
9d7a3eef8f Fix crash.
More small fixes.
2022-10-26 12:47:36 +01:00
modmuss50
fccb667212 Bump version to 1.1 2022-10-26 12:46:44 +01:00
modmuss50
bfb7d9fcc2 Merge remote-tracking branch 'origin/dev/1.0' into fmj_2
# Conflicts:
#	src/main/java/net/fabricmc/loom/util/gradle/SourceSetHelper.java
#	src/test/groovy/net/fabricmc/loom/test/LoomTestConstants.groovy
2022-10-07 10:19:11 +01:00
modmuss50
0036d81a3a Fixes to legacy jar processors. 2022-10-06 22:48:09 +01:00
modmuss50
cc43cfc1dc Major steps towards config caching support :) 2022-10-06 21:42:45 +01:00
modmuss50
24b727c84c More changes 2022-10-04 20:46:46 +01:00
modmuss50
ab4234330e First look at MinecraftJarProcessor API 2022-10-03 22:00:07 +01:00
modmuss50
57b5f05c57 Fix support for latest Gradle 8.0 nightly. (#732)
* Fix support for Gradle 8.0.

* Cleanup

* Fix another gradle 8 issue?
2022-10-02 16:28:55 +01:00
modmuss50
f221101477 Inherit environment variables. Fixes #730 (#733) 2022-10-01 16:20:08 +01:00
modmuss50
559ead49e1 Search for injected interfaces in the client sourceset by default. (#731) 2022-10-01 09:55:03 +01:00
modmuss50
c9356349de Fix crash 2022-10-01 09:19:20 +01:00
modmuss50
514dd24e9e Initial support for fabric.mod.json V2 2022-10-01 08:59:39 +01:00
modmuss50
5ae24af98b Fix incorrect Mixin message argument key. 2022-09-24 21:02:49 +01:00
Juuz
ffe5e955c5 Fix test artifact names (#716)
* Fix test artifact names

- Fixes empty parens in Linux artifacts
- Fixes invalid artifact names containing *
- Fixes Windows artifacts not being different from Linux ones

* Fix Windows tests
2022-09-11 20:26:00 +01:00
modmuss50
35e32e89f3 Retry failed tests. (#721)
* Retry failed tests.

* Minor updates.
2022-09-11 20:25:49 +01:00
modmuss50
1b4226aca9 Fix mods being always being applied to the main sourceset and not the target. (#719) 2022-09-11 15:58:28 +01:00
modmuss50
d2ece2e409 Retry reading the string from disk in downloadString.
Will hopefully make it a bit more reliable.
2022-09-05 19:28:49 +01:00
modmuss50
c5def7a594 Replace library used for download progess tracking.
This fixes the outdated java warning pre Java 11.
2022-08-31 19:45:33 +01:00
modmuss50
da423cbc07 Quote arg file contents. Fixes issues with runClient in directories containing special names.
Based on 295dd68385/platform/util/src/com/intellij/execution/CommandLineWrapperUtil.java (L87)
2022-08-28 18:03:35 +01:00
modmuss50
59d0b8af80 1.0 2022-08-28 11:24:17 +01:00
modmuss50
a8c2bb1c64 Fix crash with Gradle 7.7 nightly's in SourceSetHelper 2022-08-28 00:09:22 +01:00
modmuss50
8eb16963f3 Fix and test download issues on windows. Set default retries. (#707) 2022-08-27 21:01:20 +01:00
modmuss50
8b7e8d4c37 Cleanup some log output. 2022-08-25 21:03:48 +01:00
modmuss50
e0476d4bdb Fix FabricAPITest 2022-08-24 20:21:31 +01:00
modmuss50
e16811eb74 Fix build :) 2022-08-22 23:36:17 +01:00
modmuss50
24150283e6 Move configuration lock file out of the project dir. Hopefully fixes #703 2022-08-22 20:43:21 +01:00
modmuss50
5e4ea68b5f Try and fix crash when releasing project configuration lock. #703 2022-08-15 12:54:38 +01:00
Juuxel
fdba3b476d Mark all Minecraft libraries as non-transitive (#702)
* Fix #700

* Make all MC libraries non-transitive
2022-08-10 18:45:39 +01:00
Juuxel
86f07dad08 Fix #699 (#701) 2022-08-10 17:45:51 +01:00
modmuss50
e6b5356bbd Fix failing unit test. 2022-08-10 17:41:07 +01:00
modmuss50
813c5ead14 Don't validate mixin names with more than one target.
Add tests.
2022-08-08 18:53:12 +01:00
modmuss50
7d92647203 Fix incorrect remap configuration names for none main source sets. 2022-08-08 18:27:49 +01:00
modmuss50
727c396cd9 Add getMappingsFile and getDecompileTask APIs for use by the MC Dev plugin. (#697) 2022-08-07 09:50:22 +01:00
modmuss50
8b37b9a3c6 Add env manifest entry to split jars. 2022-08-06 15:33:59 +01:00
modmuss50
48ef3550aa Fallback to a separate file when using a file system that does not attributes. Fixes #696 2022-08-05 23:06:53 +01:00
modmuss50
0853995c5b Fix genSourcesWithDecompiler always depending on the default decompiler. 2022-08-05 22:39:48 +01:00
modmuss50
80a65210f3 Fix V1 mappings with client or server only minecraft configurations. 2022-08-05 22:30:35 +01:00
modmuss50
ff5ff98cb0 Misc performance improvements. 2022-08-05 19:53:41 +01:00
modmuss50
30ff50cee4 Add back the "genSourcesWithDecompiler" tasks with split sources. 2022-08-05 19:08:04 +01:00