Commit Graph

1282 Commits

Author SHA1 Message Date
modmuss
cc31f1c849 Update to Gradle 8.14 (#1292)
* Update to Gradle 8.14

* Fix build
2025-04-25 18:31:19 +01:00
modmuss
6bd1b12b51 Introduce concept of extended tests (#1293) 2025-04-25 18:04:58 +01:00
modmuss
e34325f7bc Add option to drop non root methods when using Mojang mappings. (#1258)
* Attempt to fix #1209

* More layered mappings tests

* Fix build

* Make opt in

* Rename
2025-04-16 22:08:49 +01:00
modmuss
47e001e929 Refmap inlining (#1273)
* Refmap inlining

* More work :)

* Disable by default

* Unit test fixes
2025-04-16 21:05:27 +01:00
modmuss
86587df8fd Don't apply interface injection to the common jar when a mod dep is client only. (#1288)
* Don't apply interface injection to the common jar when a mod dep is client only.

* Fixes
2025-04-16 09:18:14 +01:00
modmuss
beb19dbfc0 Test with 9.0 nightly (#1287) 2025-04-08 09:30:23 +01:00
modmuss
4165168558 Resolve libraries for all platforms when generating verification metadata. (#1286)
* Resolve libraries for all platforms when generating verification metadata.

* Fix build
2025-04-07 21:01:45 +01:00
modmuss50
0012682ec7 Merge remote-tracking branch 'origin/dev/1.10' into exp/1.11 2025-04-07 13:19:55 +01:00
Jonathan Coates
d463501e9b Support putting run configs in folders (#1276)
* Remove unused RunConfig.genRuns

* Support putting run configs in folders

* Fix checkstyle complaints

Given how many of my projects use checkstyle, you'd have thought I'd
remember to check it before submitting a PR.

* Fix IdeaClasspathModificationsTest

"I won't run the tests, I've tested manually, and nothing will break".
Words spoken before disaster (or at least making a fool of myself in
CI).
2025-04-07 11:55:15 +01:00
dicedpixels
24fdf5af5c filter out new realms error message (#1278) 2025-04-07 11:54:26 +01:00
modmuss
2af4b7e591 Handle fabric.mod.json file being empty (#1280)
* Throw a nicer error when the fabric.mod.json file is empty

* Don't fail just log.
2025-04-07 11:54:08 +01:00
modmuss
186b774a2e Verify the minecraft jar signature (#1282)
* Verify the minecraft jar cert

* Don't verify old server jars.

* Checkstyle

* Unit test fixes

* Add a list of known version hashes for versions that we cannot verify the jar signature.

Either the versions arent signed, or are signed with a SHA-1.

* Only verify minecraft jars when they were actually downloaded again.

* Add property to disable verification

* Fix import

* Fix bundled jars
2025-04-07 11:53:55 +01:00
modmuss
dbe1408a72 Use a hash for remapped dependency caching. (#1277)
* Use a hash from ModDependencyOptions for remapped dependency caching.

* Use a different group to allow exclusiveContent to work.

* Fix unit tests
2025-03-28 12:27:22 +00:00
modmuss50
b37c4d3474 Update tiny remapper 2025-03-23 16:34:38 +00:00
modmuss50
3de1339138 Merge remote-tracking branch 'origin/dev/1.10' into exp/1.11 2025-03-16 10:33:22 +00:00
modmuss50
ebc638f286 Use fork of 3rd party action, specify github token permissions
[no ci]
2025-03-16 10:33:07 +00:00
modmuss
925dcafa5c Vineflower 1.11.1 (#1274) 2025-03-06 11:21:18 +00:00
Juuz
a477a718ed RemapJarTask: Delete output if it exists to prevent ghost files (#1271)
* RemapJarTask: Delete output if it exists to prevent ghost files

Fixes #1270. This changed isn't necessary for RemapSourcesJarTask
as SourceRemapperService already deletes the output.

* Add a test for #1270

* Move DeletedResourceTest inside SimpleProjectTest
2025-03-04 22:07:52 +00:00
modmuss
a0cdb4ea6b Merge pull request #1272 from Juuxel/groovy-import-editorconfig
Add Groovy import order to .editorconfig
2025-03-04 21:45:13 +00:00
Juuz
df448d7e4a Add Groovy import order to .editorconfig 2025-03-04 21:45:13 +02:00
modmuss
8b0e718573 Fix client test resources dir (#1269) 2025-02-28 09:50:11 +00:00
modmuss50
a608775e4e Update to Gradle 8.13 2025-02-25 19:52:59 +00:00
modmuss
3dd090687f Create a real Gradle ObjectFactory for unit tests (#1266) 2025-02-25 19:49:33 +00:00
modmuss50
0eea92f40a Start 1.11 dev cycle. 2025-02-25 19:48:34 +00:00
modmuss
a21db850ea Vineflower 0.11.0 (#1267) 2025-02-25 14:48:33 +00:00
modmuss
2cd695b799 Add general purpose download task (#1262)
* Add general purpose download task

* Use duration + add basic max age test

* Enable default caching
2025-02-10 08:56:18 +00:00
modmuss
e3cd4947bf Remove loom bootstrap (#1261)
* Remove bootstrap, its no longer required as Gradle has a nicer error message for outdated java.

* No need to check idea or gradle version
2025-02-09 23:27:48 +00:00
modmuss
34edc76a50 Improved class entry validation (#1260)
* Improved class entry validation

* Fixes and tests
2025-02-09 23:21:54 +00:00
modmuss50
74795b0250 Add "productionRuntimeMods" configuration 2025-01-27 11:06:43 +00:00
modmuss
fc26023047 Configure compile task mixin options lazily (#1256)
* Try to configure compile task mixin options lazily

* Fix CompileJava being realised too soon, and other misc lazy task fixes.
2025-01-26 21:06:30 +00:00
modmuss
cd6e7a3e28 Run tests with latest nightly (#1255) 2025-01-26 18:30:37 +00:00
modmuss50
1c025787b9 Fix VSC working directory location.
Co-authored-by: fewizz <hazeevaidar@gmail.com>
2025-01-26 14:26:41 +00:00
modmuss
9bcce94d5a Update to Mapping-IO 0.7.0 & Tiny Remapper 0.11 (#1245)
* Update to Mapping-IO 0.7.0

* Update to Mapping-IO 0.7.1

* Revert changes

* Update tiny remapper

* Fix invalid tiny v2 header.
2025-01-26 14:02:16 +00:00
modmuss50
cb8ba8fe1d Correct use UntrackedTask. Also fix #1254 2025-01-26 12:35:26 +00:00
modmuss
362fc98c47 Improvements to test and IDE runs (#1252)
* Improves to test and IDE runs

* Use correct sourceset
2025-01-22 22:05:55 +00:00
modmuss
3ee1372feb Fix getCompileRuntimeModsFromRemapConfigs not returning mods that have different versions on the compile/runtime classpath. (#1246) 2025-01-08 09:51:42 +00:00
modmuss
e1cc6f05fa Add support for running the production client with the tracy profiler. (#1244)
* Add support for running the production client with the tracy profiler.

* Fix test

* Update tracy capture
2025-01-04 21:06:28 +00:00
modmuss
52a19b3bf7 Use XVFB on Linux CI, allows running the client prod tasks on a headless OS (#1243) 2025-01-02 20:35:00 +00:00
modmuss
8b6658c559 Production run tasks (#1241)
* Production run tasks

* Fix

* Add some docs
2025-01-02 14:25:32 +00:00
modmuss
c46e252643 Add DSL to configure Fabric API game tests (#1240)
* Add DSL to configure game tests

* Small cleanup

* More work
2025-01-02 14:25:20 +00:00
modmuss
454e32ece7 Refactor Fabric API extension (#1238)
* Refactor Fabric API extension

* Fix

* Fix

* Even more cleanup
2025-01-01 14:25:54 +00:00
Space Walker
543d0a3d10 create backup jars for legacy merged mapped minecraft providers (#1230)
* create backup jars for legacy merged mapped mc providers

* only merge jars if remapping occurred

* Cleanup + add logger

* Fixes

---------

Co-authored-by: modmuss50 <modmuss50@gmail.com>
2024-12-29 15:57:45 +00:00
Space Walker
44ca4b8b8a Run library processor for server-only projects for Minecraft versions without bundle metadata (#1231)
* run library processor for server-only projects without  bundle metadata

* implement suggested changes
2024-12-29 15:57:11 +00:00
modmuss
cc51c64c37 Fix #1229 (#1237) 2024-12-29 15:56:17 +00:00
tranquillity-codes
3fce2627d6 Make LineNumberRemapper stop trying to guess line numbers (#1235)
Usually the guesses were wrong, so instead let's not generate a
LineNumberTable for lines that lack a mapping in the linemap. This makes
the behavior on decompiler bugs/issues more predictable.
2024-12-23 15:57:57 +00:00
modmuss
2ba633badf Download source artifacts in parallel (#1232) 2024-12-23 14:24:39 +00:00
modmuss50
40d17bacee Update to Gradle 8.12 2024-12-23 14:19:32 +00:00
modmuss50
d9349c57e1 Bump version 2024-12-23 14:19:26 +00:00
modmuss
c80333b2bd Fix client data gen source set not depending on main when using split sources (#1228)
* Fix client data gen not depending on main when using split sources

* Also don't delete datagen output on clean

* Checkstyle
2024-12-02 18:02:37 +00:00
modmuss50
1d0946f55b Fix datagen task output 2024-11-30 12:22:37 +00:00