modmuss50
d1902ecb0e
Add versions used to compile/build against to jar manifest ( #428 )
...
* Add versions used to compile/build against to jar manifest
* checkstyle
* Move to post remap
* Fix build
* Add mc version and mixin group
* Typo
* Make test run across versions better.
(cherry picked from commit 2259a4efc8 )
Signed-off-by: shedaniel <daniel@shedaniel.me >
2021-07-21 00:04:43 +08:00
shedaniel
77e71acd99
a
2021-05-01 19:40:27 +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
58d1b066bd
Simplify RemapJarTask remapRefmap
2021-04-13 16:30:44 +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
635fd8a55d
Allow remapping to other namespaces
2021-04-13 16:05:26 +08:00
shedaniel
8c859ecba2
Fix merge conflicts
2021-04-04 19:44:11 +08:00
shedaniel
ad1754a932
Merge remote-tracking branch 'FabricMC/dev/0.7' into dev/0.7-forge
...
# Conflicts:
# .github/workflows/test-push.yml
# build.gradle
# src/main/java/net/fabricmc/loom/configuration/CompileConfiguration.java
# src/main/java/net/fabricmc/loom/configuration/ide/RunConfig.java
# src/main/java/net/fabricmc/loom/configuration/providers/MinecraftProvider.java
# src/main/java/net/fabricmc/loom/configuration/providers/mappings/MappingsProvider.java
# src/main/java/net/fabricmc/loom/configuration/providers/minecraft/MinecraftMappedProvider.java
# src/main/java/net/fabricmc/loom/configuration/providers/minecraft/assets/MinecraftAssetsProvider.java
# src/main/java/net/fabricmc/loom/decompilers/fernflower/AbstractFernFlowerDecompiler.java
# src/main/java/net/fabricmc/loom/decompilers/fernflower/ForkingJavaExec.java
# src/main/java/net/fabricmc/loom/task/RemapJarTask.java
# src/main/java/net/fabricmc/loom/util/GroovyXmlUtil.java
# src/main/java/net/fabricmc/loom/util/HashedDownloadUtil.java
# src/test/groovy/net/fabricmc/loom/BuildUtils.groovy
2021-04-04 19:30:51 +08:00
modmuss50
e6ac2afc7b
Ensure outputs are reproducable across all OS's. ( #363 )
2021-03-15 23:31:18 +00:00
modmuss50
7231b9e053
Mod Remapping Refactor. ( #362 )
...
Improved gradle 7 support
General cleanup
2021-03-12 22:16:24 +00:00
shedaniel
bcb55fe62f
Fix @Shadow remap
2021-03-08 01:13:13 +08:00
shedaniel
bfcd0aa8c1
Use refmap-remapper to remap refmap to prevent double remapping
2021-03-08 00:59:47 +08:00
shedaniel
f66548f7fb
Update tiny remapper
2021-03-05 16:25:17 +08:00
shedaniel
021773f263
Merge remote-tracking branch 'FabricMC/dev/0.6' into dev/0.6-forge
...
# Conflicts:
# build.gradle
# src/main/java/net/fabricmc/loom/LoomGradleExtension.java
# src/main/java/net/fabricmc/loom/configuration/CompileConfiguration.java
# src/main/java/net/fabricmc/loom/configuration/processors/MinecraftProcessedProvider.java
# src/main/java/net/fabricmc/loom/configuration/providers/mappings/MappingsProvider.java
# src/main/java/net/fabricmc/loom/configuration/providers/minecraft/MinecraftNativesProvider.java
# src/main/java/net/fabricmc/loom/configuration/providers/minecraft/assets/MinecraftAssetsProvider.java
# src/main/java/net/fabricmc/loom/task/GenVsCodeProjectTask.java
# src/main/java/net/fabricmc/loom/util/SourceRemapper.java
2021-02-14 15:42:50 +08:00
modmuss50
409f5f8e93
Update MCE - Remove auto population of minVersion in mixins - Drop some log levels.
2021-02-11 18:12:27 +00:00
shedaniel
3a49510c01
Merge remote-tracking branch 'FabricMC/dev/0.6' into dev/0.6-forge
2021-01-18 09:07:03 +08:00
shedaniel
4b93054ddb
Remap refmap the worse way, but then it works.
2020-12-26 23:51:37 +08:00
modmuss50
03444f26b0
General code cleanup ( #313 )
...
* First general cleanup pass
* Review feedback
* Fix build
* Fix tests
2020-12-24 20:58:30 +00:00
shedaniel
d325274e4f
Filter unknown invokedynamic bsm
2020-12-23 18:55:39 +08:00
i509VCB
b0860c36d6
Add ability to specify additional tiny remapper options in remapJar ( #292 )
...
* Add ability to specify additional tiny remapper options in remapJar
* Imports go brr
* Fix checkstyle
Co-authored-by: modmuss50 <modmuss50@gmail.com >
2020-12-21 21:02:39 +00:00
modmuss50
e20993daf8
Allow setting the RemapJarTask classpath. Closes #307
2020-12-21 20:42:23 +00:00
Cool_Mineman
7e5053b0c5
Respect reproducibleFileOrder and preserveFileTimestamps ( #304 )
...
* Respect reproducibleFileOrder and preserveFileTimestamps
* Also Respect On Sources Jars
* java 8
* checkstyle
* Please Rerun Actions
2020-12-21 19:47:08 +00:00
Juuxel
ddb810ed99
Remap mixins properly (and cursedly)
2020-12-04 16:01:58 +02:00
Juuxel
e4d696bac2
Merge remote-tracking branch 'upstream/dev/0.5' into forge
...
# Conflicts:
# src/main/java/net/fabricmc/loom/AbstractPlugin.java
# src/main/java/net/fabricmc/loom/LoomGradleExtension.java
# src/main/java/net/fabricmc/loom/providers/MappingsProvider.java
# src/main/java/net/fabricmc/loom/task/RemapJarTask.java
# src/main/java/net/fabricmc/loom/util/Constants.java
2020-11-29 22:50:37 +02:00
modmuss50
80aaf63832
Fix race condition with mixin's output mappings across source sets
2020-09-06 20:21:08 +01:00
modmuss50
20be96e733
Fix mixin mapping being shared between all projects.
2020-09-04 22:41:11 +01:00
modmuss50
8b1268abe7
Fix and improve error handling around access widener remapping with shared caches
2020-08-26 20:15:21 +01:00
Juuxel
bee5b389c4
Make 'srg' the target namespace of remapJar when Forge is enabled
2020-07-30 16:15:23 +03:00
Juuxel
a45e9f4729
Add warning in RemapJarTask for using mixins in Forge projects
2020-07-30 14:44:03 +03:00
Juuxel
10b850c26d
Add FIXME to remapJar notifying that it doesn't work
2020-07-27 22:56:30 +03:00
Juuxel
cea09e71e2
Add srgRemapJar (unknown if it works, I need to add more Forge dependencies first)
2020-07-27 22:44:47 +03:00
Reece Dunham
1955bcb2ea
General cleanup
2020-07-26 21:32:10 +01:00
modmuss50
32eb0bd3c8
First pass on "shareCaches".
2020-06-27 20:18:32 +01:00
modmuss50
11e24e57b4
Merge branch 'pull/205' into dev/0.4
...
# Conflicts:
# src/main/java/net/fabricmc/loom/task/RemapJarTask.java
2020-05-13 19:47:28 +01:00
modmuss50
3eff7d0fdb
Improve setup speed. ( #208 )
...
* Improve access widener remapper, now uses tiny remapper
* First pass on using the new tiny remapper
* Optimise source remapping
2020-05-13 19:44:45 +01:00
Joe
add76e4949
Fix uninitialized property
2020-05-11 13:09:42 +01:00
Joe
a134913c71
Allow other source sets to be remapped without needing an access widener
2020-05-11 12:48:04 +01:00
modmuss50
0ae8535c40
Access widener support ( #182 )
...
* Rough work on project based jars, skeleton for AccessEscalators?
* First working draft
* Minor changes
* Add support for mutable, better error checking when parsing file.
Code cleanup
Remap if needed when reading
* Fix inner classes and genSources
* Fix CME
* Caching, only regen jar when input changes
* Some work, untested
* Fix writing, fix checkstyle issues
* More fixes
* Move jars into a maven file structure, cleans up the file structure, and will benefit idea 2020
Add some basic validation to the AccessWidenerRemapper, will present any issues with the mappings when building (May need a way to disable?)
+ Some bugs fixes
* Fix issues with source jars in idea 2020, should be backwards compatible with 2019
* Move to lorenz-tiny
* Build fix + small cleanup
* Update to match the changes in loader
* More fixes
* Update to match loader changes.
* Improve error logging
2020-04-06 15:28:53 +01:00
Fudge
8e916f8fb0
Support using TinyV2 mappings ( #132 )
2019-11-09 19:00:36 +00:00
modmuss50
f85daec559
Reformat to use Fabric API's checkstyle ( #137 )
...
* Reformat to use Fabric API's checkstyle
* Fix
* Fix
* Update
* Travis and fixes
* possible fix for checkstyle?
* Helps if i push the checkstyle.xml file...
* Log checkstyle issues to console - used by travis
* Fix some more issues
* opps
2019-11-02 20:23:27 +00:00
zml
ba426c04fb
Fix issues involving projects with modules that contain no java classes ( #135 )
...
Dependencies on a compileClasspath configuration, and
encountering nonexistant paths in the classpath prevented remapping from
completing successfully.
Additionally, adds the output of remapJar as an artifact before the task
executes to resolve a conflict with the signing plugin
2019-10-22 20:29:25 +01:00
modmuss50
13ae0ae263
Initial gradle 6.0 rc1 fixes, ugly but works. Closes #131
2019-10-22 20:28:00 +01:00
modmuss50
927c3f22cc
Fix runClient/Server tasks not always including the mod
2019-07-29 12:28:46 +01:00
asie
3435447a77
fix provider crash
2019-07-24 23:52:34 +02:00
asie
ac9c7fc103
downgrade to gradle 4.9, fix tiny-remapper deprecations, restore old dev/noclassifier behaviour for default RemapJarTask settings
2019-07-24 22:34:27 +02:00
Mitchell Skaggs
9e690f489f
Refactor RemapJarTask to extend from Jar
...
It may now be used in places that require AbstractArchiveTask such as Maven publications
2019-06-10 22:22:16 -05:00
asie
4be5fe010f
use compileClasspath to remap JARs
2019-05-18 11:51:34 +02:00
asie
788df9cfc7
migrate RemapJarTask and RemapSourcesJarTask over to getters/setters for fields; make RemapJarTask use input and output locations instead of in-place renaming fluff
2019-05-11 00:53:50 +02:00