Commit Graph

835 Commits

Author SHA1 Message Date
shedaniel
3f576a44ab Migration Mappings Detection
Still having issues with source locations, would need to check it out first

Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-05-08 12:50:17 +08:00
shedaniel
d91d7c096c Revert "Filter ':launcher' dependency (Could cause problems! Please test!)"
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-05-05 21:42:03 +08:00
shedaniel
2625b90a17 Adds Forge Sources Remapping
Filter ':launcher' dependency (Could cause problems! Please test!)
Fix previous optimisations leaving signing info in
Add license header to various files

Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-05-05 18:29:42 +08:00
shedaniel
8d96bc0b6f Use "loom.platform" instead of "loom.forge"
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-05-05 02:34:03 +08:00
shedaniel
41b631f8d6 Version 0.7.1, Merge pull request #15 from architectury/feature/perf
Performance Optimisations on Project Setup
2021-05-05 02:27:29 +08:00
shedaniel
6b9f9bb06b Merge remote-tracking branch 'architectury/dev/0.7-forge' into feature/perf
# Conflicts:
#	build.gradle
2021-05-05 00:29:11 +08:00
shedaniel
43a082597d Migrate to "org.codehaus.groovy:groovy" and change repo order
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-05-05 00:23:31 +08:00
shedaniel
f0227044b3 Merge remote-tracking branch 'FabricMC/dev/0.6' into dev/0.7-forge 2021-05-05 00:09:13 +08:00
shedaniel
da286b6c86 Change plugin ID to "dev.architectury.loom" 2021-05-03 18:40:02 +08:00
shedaniel
24d4043764 Bump to 0.7.1 & Update mercury 2021-05-03 18:36:55 +08:00
shedaniel
4c71989d2d Remove mavenLocal() 2021-05-02 00:37:26 +08:00
shedaniel
6f2ec219e7 Use TinyRemapper directly 2021-05-01 21:16:42 +08:00
shedaniel
77e71acd99 a 2021-05-01 19:40:27 +08:00
shedaniel
c28fe56870 Merge remote-tracking branch 'architectury/dev/0.7-forge' into feature/perf 2021-04-30 10:38:28 +08:00
shedaniel
73dbebbf95 Add --stacktrace 2021-04-30 10:06:42 +08:00
shedaniel
f9ba0104d1 Merge remote-tracking branch 'FabricMC/dev/0.7' into dev/0.7-forge 2021-04-30 10:06:21 +08:00
Username404-59
cc13624989 Workaround for FileSystemAlreadyExists errors (#17) 2021-04-30 00:38:27 +08:00
shedaniel
e05c885508 Change MavenConfiguration's forge maven 2021-04-29 20:12:18 +08:00
Username404-59
d276b4f19b Fix displayed forge version when using prefix-ranges in dev environments and fix the forge repo url too (#16)
* Fix displayed forge version when using prefix-ranges in dev environments

* Fix the forge repo url
2021-04-29 20:10:09 +08:00
modmuss50
974cd1fa6c Update MCE to 0.4.3 2021-04-28 22:50:53 +01:00
modmuss50
7de021e7c1 Revert "Update MCE"
This reverts commit b85659640d.
2021-04-27 18:04:47 +01:00
shedaniel
4c94886db8 Merge remote-tracking branch 'FabricMC/dev/0.7' into dev/0.7-forge 2021-04-27 20:55:19 +08:00
modmuss50
f409116afd Merge branch 'dev/0.7' of github.com:FabricMC/fabric-loom into dev/0.7 2021-04-27 13:13:15 +01:00
modmuss50
b85659640d Update MCE 2021-04-27 13:12:01 +01:00
shedaniel
001f4b58f6 Performance Optimisations on Project Setup
"Sorry I kinda put them into a single commit" - shedaniel

- Fix AtRemapper into not using ZipUtil#transformEntries, which is slow as it transverses the whole zip tree
- Optimises InnerClassRemapper into not using ZipUtil#iterate, which provides the InputStream of the ZipEntry, data that we don't utilize. Switch to a simple FileSystem to traverse through the list of files
- Make MappingsProvider respect mergedv2 yarn files, skipping merging and reordering namespaces in the process. Users that wish to benefit from this should switch to using mergedv2 yarn artifacts
- Make MinecraftMappedProvider only read inputs once
- Replace (TinyRemapper, official -> named) to (AsmRemapper, intermediary -> named), and chain it to the (TinyRemapper, official -> intermediary) to avoid reading the Minecraft jar again
- Multi-thread MinecraftPatchedProvider#fixParameterAnnotation properly

On a typical project, these changes can save up to 50% of the import time. Tested on architectury example mod, which brought import times from 1m 51s to 48s.
2021-04-22 23:41:35 +08:00
ByMartrixX
1d009e155e Add loom development dependencies to test runtime classpath (#389) 2021-04-21 08:51:56 +01:00
modmuss50
91d7cc8952 Revert "Add loom development dependencies to test runtime classpath (#387)" (#388)
This reverts commit e1ef90496f.
2021-04-19 18:00:59 +01:00
ByMartrixX
e1ef90496f Add loom development dependencies to test runtime classpath (#387) 2021-04-19 18:00:28 +01:00
shedaniel
b200c4ff62 Merge remote-tracking branch 'architectury/dev/0.6-forge' into dev/0.7-forge 2021-04-17 22:38:11 +08:00
modmuss50
12ac6cfcfe Update mixin-compile-extensions 2021-04-14 20:45:17 +01:00
shedaniel
8f6de9af84 Add more logging to JarRemapper 2021-04-14 09:39:06 +08:00
shedaniel
aa009c2b2d Add "loom.forge.include" for include configuration on forge 2021-04-14 08:45:26 +08:00
shedaniel
e3a446965d Fix refmap remapping 2021-04-14 08:44:17 +08:00
shedaniel
ee847ba61b Add "loom.forge.include" for include configuration on forge 2021-04-14 08:40:11 +08:00
shedaniel
003574b9e8 Fix refmap remapping 2021-04-14 08:38:39 +08:00
shedaniel
3326e17394 Use a 4 dots version system 2021-04-13 16:41:47 +08:00
shedaniel
e7530d489d Merge remote-tracking branch 'FabricMC/dev/0.7' into dev/0.7-forge 2021-04-13 16:35:57 +08:00
shedaniel
cb821ede0f Revert "WIP AT -> JarProcessor"
This reverts commit 4fe9b81e
2021-04-13 16:31:15 +08:00
shedaniel
58d1b066bd Simplify RemapJarTask remapRefmap 2021-04-13 16:30:44 +08:00
shedaniel
361c84cf00 Simplify RemapJarTask remapRefmap 2021-04-13 16:27:14 +08:00
shedaniel
897806572e Fix merge conflicts 2021-04-13 16:22:58 +08:00
shedaniel
a0b84aaf17 Merge branch 'dev/0.6-forge' into dev/0.7-forge
# Conflicts:
#	src/main/java/net/fabricmc/loom/configuration/CompileConfiguration.java
#	src/main/java/net/fabricmc/loom/task/RemapJarTask.java
#	src/main/java/net/fabricmc/loom/task/RemapSourcesJarTask.java
#	src/main/java/net/fabricmc/loom/util/SourceRemapper.java
2021-04-13 16:17:04 +08:00
shedaniel
61f724c76e Fix RemapSourcesJarTask defaulting to intermediary 2021-04-13 16:12:02 +08:00
shedaniel
f5c00d186b Merge remote-tracking branch 'architectury/dev/0.6-forge' into dev/0.6-forge 2021-04-13 16:05:34 +08:00
shedaniel
635fd8a55d Allow remapping to other namespaces 2021-04-13 16:05:26 +08:00
modmuss50
83eaa0e340 Update to run tests against gradle 7.0 release 2021-04-10 00:07:44 +01:00
modmuss50
816ed93d7a Fix typo 2021-04-09 20:44:18 +01:00
shedaniel
5eadada719 Merge pull request #13 from Devan-Kerman/dev/0.6-forge
allow mcp without params.csv to be used
2021-04-09 09:52:16 +08:00
Devan-Kerman
d333ad16d2 fix maybe 2021-04-08 17:07:30 -05:00
shedaniel
f45f47b1b0 Remove relocate 2021-04-04 21:54:47 +08:00