Commit Graph

1843 Commits

Author SHA1 Message Date
PoTheMagicDragon
116a2f1746 Update README.md to use the correct link (#158)
[ci skip]
2023-08-27 14:23:47 +03:00
SettingDust
25eefb5d62 Make all jars nestable on Forge (#153)
Fixes #152.
2023-08-12 23:09:40 +03:00
Juuz
66edc601f5 RemapJarTask: Avoid reordering nested jars
Fixes #155.
2023-08-12 13:02:57 +03:00
Juuz
b0840803a5 Add a mod settings container to RunConfigSettings (#145)
Closes #144.
2023-08-12 12:41:27 +03:00
Juuz
39426ac20e Merge remote-tracking branch 'upstream/dev/1.3' into dev/1.3 2023-08-12 01:22:31 +03:00
Juuz
65bb884401 Merge branch 'dev/1.2' into dev/1.3 2023-08-12 01:22:09 +03:00
modmuss
ffc786d3cd Fix gradle properties not being read from sub projects correctly. (#941)
Workaround gradle/gradle#23572
2023-08-10 16:46:25 +01:00
shedaniel
7a26b375e0 Support Neo (#154) 2023-08-09 04:41:58 +08:00
Juuz
3019b32fd7 Publish 1.3 beta builds 2023-07-22 01:30:02 +03:00
Juuz
236f035ebe actions: Restore test-push.yml to be closer to upstream 2023-07-19 17:50:41 +03:00
Juuz
f51a9a59de Merge remote-tracking branch 'upstream/dev/1.3' into dev/1.3
# Conflicts:
#	src/main/java/net/fabricmc/loom/build/nesting/IncludedJarFactory.java
2023-07-19 12:56:27 +03:00
Juuz
2de23d12cf Update TR and fix compilation errors 2023-07-19 12:14:34 +03:00
modmuss50
cfe72b933a Improve Kotlin version detection 2023-07-06 13:06:07 +01:00
modmuss50
63eaeed496 Add comment to ZipReprocessorUtil.appendZipEntry 2023-07-04 17:15:54 +01:00
modmuss
e49a051ea0 Fix included none mod libraries not being reproducible. (#923)
Closes #921
2023-07-04 17:13:48 +01:00
modmuss
6413a9312c Create RunConfigSettings with Gradle's object factory (#917)
* Create RunConfigSettings with Gradle's object factory

* Update src/main/java/net/fabricmc/loom/configuration/ide/RunConfigSettings.java

Co-authored-by: Juuz <6596629+Juuxel@users.noreply.github.com>

* Update FabricAPI test

* Fix version

* Actually fix test

* Just make the minimal changes for now

---------

Co-authored-by: Juuz <6596629+Juuxel@users.noreply.github.com>
2023-07-03 17:45:13 +01:00
modmuss
8ddf572a7c Client annotation processor configuration extendsFrom "annotationProcessor" (#918) 2023-07-02 21:39:06 +01:00
Juuz
28b8caf8f1 Make resolvable copies of configurations not consumable (#920)
This prevents info-level log warnings from mod remapping
from flooding the console.
2023-07-02 21:38:55 +01:00
Juuz
60e0aaf823 Merge remote-tracking branch 'upstream/dev/1.3' into dev/1.3
# Conflicts:
#	build.gradle
#	src/main/java/net/fabricmc/loom/configuration/mods/ModProcessor.java
#	src/main/java/net/fabricmc/loom/configuration/providers/minecraft/mapped/AbstractMappedMinecraftProvider.java
2023-06-30 16:23:49 +03:00
Juuz
7a9849bfcf Fix ClassCastExceptions 2023-06-30 15:53:19 +03:00
modmuss50
8abe00a2b1 Fix gen sources without unpick 2023-06-27 20:54:34 +01:00
qwertyuioplkjhgfd
867793d8c3 Fix constructor mappings with layered mappings (#881)
* add AddConstructorMappingVisitor

* add constructor test

* Update src/main/java/net/fabricmc/loom/configuration/providers/mappings/utils/AddConstructorMappingVisitor.java

Co-authored-by: Juuz <6596629+Juuxel@users.noreply.github.com>

* apply requested changes

---------

Co-authored-by: qwertyuioplkjhgfd <qwertyuioplkjhgfd@users.noreply.github.com>
Co-authored-by: Juuz <6596629+Juuxel@users.noreply.github.com>
2023-06-27 14:16:40 +01:00
modmuss
f06bc6f735 Don't use arg files when running in a none ascii path (#916) 2023-06-27 14:06:48 +01:00
modmuss50
ffe4d52a12 Improve GenerateSourcesTask error message.
Closes https://github.com/FabricMC/fabric-loom/issues/914
2023-06-27 09:27:59 +01:00
modmuss
8b3b9b4aed Use intermediate provider name in cache key (#912) 2023-06-23 17:17:58 +01:00
modmuss
a2b541818c Apply AW as a TR AnalyzeVisitor (#892)
* Apply AW as a TR AnalyzeVisitor

* Update TR
2023-06-23 15:29:24 +01:00
modmuss50
2e31f8accb Use project specific cache dir in IncludedJarFactory.
Fixes https://github.com/FabricMC/fabric-loom/issues/911
2023-06-23 15:20:29 +01:00
Juuz
c72bdb5eea Fix compilation errors 2023-06-21 21:48:17 +03:00
Juuz
13cfbb9da5 Merge remote-tracking branch 'upstream/exp/1.3' into exp/1.3
# 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/decompile/SingleJarDecompileConfiguration.java
#	src/main/java/net/fabricmc/loom/configuration/providers/minecraft/MinecraftJarConfiguration.java
#	src/main/java/net/fabricmc/loom/configuration/providers/minecraft/MinecraftProvider.java
#	src/main/java/net/fabricmc/loom/configuration/providers/minecraft/mapped/IntermediaryMinecraftProvider.java
#	src/main/java/net/fabricmc/loom/configuration/providers/minecraft/mapped/NamedMinecraftProvider.java
#	src/main/java/net/fabricmc/loom/task/GenerateSourcesTask.java
2023-06-21 21:40:25 +03:00
Juuz
e0efe9ce60 Remove beta warning 1.2 2023-06-21 21:30:29 +03:00
modmuss
4e593fc5ae Rework how unpick and linenumber maps are applied (#907)
This should hopefully vastly improve debugging, and more imporantly not work in a consistant manner, making debugging issues a lot easier.

This commit contains an intergration test that uses a real debugger to check that breakpoints are being fired as expected.
2023-06-16 21:55:04 +01:00
modmuss
fe823ddb30 Add an internal API to allow 3rd party loom extensions to add library processors. (#906)
Stability of this API will not be guaranteed.
2023-06-15 20:14:52 +01:00
modmuss
590686fe1a Fix + test minecraft metadata downloading (#905) 2023-06-13 21:24:46 +01:00
TheKodeToad
ed5e4ac8dd Add Eclipse to ANSI supported IDEs - fixes #726 (#803) 2023-06-13 18:54:23 +01:00
modmuss
68c7eb21ba Enable reproducible builds by default (#899)
* Enable reproducible builds by default

* Review feedback
2023-06-13 18:31:25 +01:00
modmuss
856f0a4f33 Fix and validate kotlin version. (#903) 2023-06-13 18:31:02 +01:00
RedNesto
c557647e06 Fix invalid run config containing module names with spaces (#889) 2023-06-13 11:32:35 +01:00
Juuz
c62e96b0ae Fix non-main source set remap configurations publishing by default (#891)
Fixes #890.

Note that there is *no simple way* to enable publishing for remap
configurations created this way anymore as the publishing mode is read
during the `createRemapConfigurations` call.

This also changes the behaviour of `modClientX` configurations to no longer
publish. If that is wanted, I can add a `createRemapConfigurations()`
overload with some kind of configurability.
2023-06-13 11:25:43 +01:00
zml
3c487447fb Fix interface injection of inner class interfaces (#900)
Fixes #798
2023-06-13 11:20:46 +01:00
Luke Bemish
55c59ef97e Change zip entry ordering to place manifest first (#887)
* Change zip entry ordering to place manifest first

* Add handling for signature related files

* Update jar file hash

* Hopefully update correct file hashes this time

* Change jar hashes

* Add correct source hashes
2023-06-13 11:17:20 +01:00
modmuss
6e72125c0f Dont allow gradle to run game/genSources tasks in parallel (#901)
* Dont allow gradle to run game/genSources tasks in parallel

* Fix build
2023-06-13 11:16:56 +01:00
modmuss
af1f2497b5 Fix Kotlin 1.9.0 beta (#902)
* Fix Kotlin 1.9.0 beta

* Fix build
2023-06-13 11:16:14 +01:00
modmuss50
5c92ebd20b Loom 1.3 2023-06-13 11:10:08 +01:00
Juuz
cce1fa3fff Merge branch 'dev/1.1' into dev/1.2 2023-06-12 20:48:09 +03:00
Juuz
b7f3c674f9 ModMetadataFiles: Prefer quilt.mod.json over architectury.common.json 2023-06-12 20:45:55 +03:00
Juuz
479bb0ba17 Fix architectury.common.json etc being used over fabric.mod.json (#140)
Fixes #136.
2023-06-12 20:45:12 +03:00
Juuz
6d5e57c292 Remove unused forgeNamed configuration
It's been unused for multiple versions, and it's not a
supported public API - it can be removed safely.
2023-06-12 20:08:25 +03:00
Juuz
4390d16183 Fix #132 2023-06-12 20:08:25 +03:00
Juuz
e485c5e68c Add test for #132 2023-06-12 20:08:25 +03:00
shedaniel
4ce760a062 Change broken mods.toml warning to info 2023-06-12 17:34:53 +08:00