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
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
modmuss50
3dc18a32d4
Add the Minecraft version as a cache input to the download assets task.
...
This fixes an issue where the assets index would not be generated when the minecraft version changes without the assets changing.
2022-08-05 17:50:01 +01:00
modmuss50
d0f63cf652
Don't hardcode "dev" classifier for publishing, fixes #662
2022-08-04 13:22:02 +01:00
modmuss50
c5231a6641
Fix incorrect documentation. Closes #664
2022-08-04 12:59:37 +01:00
modmuss50
d5c016e0e3
Fix VSCode launch generator for sub projects. Closes #690
2022-08-04 12:58:37 +01:00
modmuss50
e561cca19a
Split mod dependencies into client/common as required.
2022-08-04 08:56:37 +01:00
modmuss50
3913c2e897
Add a lock file around building the loom cache. Regenerate if the lock file exists.
...
This helps to ensure that failed or canceled builds do not cause the cache to be left in an undetectable invalid state.
2022-07-30 19:21:56 +01:00
modmuss50
c7e10a596e
Use Arg file to pass arguments when running using Idea and run tasks. ( #691 )
...
* Use Arg file to pass arguments when running using Idea and run tasks.
* Use arg file in eclipse
2022-07-30 07:41:31 +01:00
modmuss50
11ed1309e8
Add support for Mixin accessors and handle inner classes better.
2022-07-30 00:11:28 +01:00
modmuss50
b7f4939632
Harden downloader against partial downloads by creating a lock file while downloading.
2022-07-30 00:02:14 +01:00
modmuss50
7f1b006d66
Fix misleading error, afterEvaluate is still call even if the build has already failed.
2022-07-29 23:48:28 +01:00
modmuss50
37850a5868
Add ValidateMixinNameTask
2022-07-29 20:55:30 +01:00
modmuss50
a0187c95e4
Ensure that deps with injected ifaces are on both the compile and runtime classpath.
2022-07-25 22:50:12 +01:00
modmuss50
c06fa216df
Add maxRetries to the downloader, should help when downloading the assets.
2022-07-25 20:15:56 +01:00
modmuss50
53f239fd8e
Remove shareCaches option, has not been used for a few versions.
...
Was basically designed for FabricAPI only, now the same is applied where possible to all projects in a much better fashion.
2022-07-25 18:39:39 +01:00
modmuss50
688385a1bb
Update deps + fix some failing tests.
2022-07-25 18:37:16 +01:00
modmuss50
c4c6de23e3
Rewrite download utils ( #681 )
...
- eTag support (It seems Mojang's CDN and our meta/maven do not support this right now)
- Age based caching.
- Sha1 based caching.
- HTTP(S) proxy settings should now be respected.
- The downloader has better awareness of offline mode and refresh deps, cleaning up the calling code a bit.
- Uses the new Java 11 HTTP client, provides async support for downloading multiple files
- Progress handling (TODO needs hooking up to gradle)
- Better compression support. Handled by [Methanol](https://mizosoft.github.io/methanol/ )
- Unit tested with a real web server.
2022-07-25 18:01:11 +01:00
modmuss50
4bc7e39149
Ensure the compileClasspath is fully resolved before migrating mappings.
2022-07-08 20:41:53 +01:00
modmuss50
991628d619
Ensure all mercury classpath entries exist. Fixes a mmigrateMappings crash in some multi-project setups.
2022-07-08 20:28:52 +01:00
modmuss50
aa77ad8c4c
Support Mixin 0.8.5's configurable AP message levels.
...
Same API as MixinGradle. Closes #671
2022-07-03 21:23:36 +01:00
modmuss50
14b24b7e2b
Support configuring run environment variables & Fixes #653
2022-07-03 20:51:45 +01:00
modmuss50
48fafb9a64
Remove unused properties.
2022-07-03 15:09:45 +01:00
modmuss50
35d37def55
Add JarSplitter.
...
Still needs writing up.
2022-07-03 15:07:13 +01:00
modmuss50
5f09152e9f
Merge branch 'dev/0.12' into exp/0.13
2022-07-02 23:42:41 +01:00
modmuss50
b25e5cd5a6
Only realise the gradle property being queried.
...
Co-authored-by: Jason Penilla <11360596+jpenilla@users.noreply.github.com >
2022-07-02 23:38:49 +01:00
modmuss50
97927f913a
Replace getRemapArchives & getSetupRemappedVariants with a gradle property. ( #678 )
...
* Replace getRemapArchives & getSetupRemappedVariants with a gradle property as they are evaluated too early to be set.
* Use true for all projects.
* Cleanup, you can set properties for each subproject.
* Fix docs.
2022-07-01 18:13:56 +01:00
modmuss50
1e77bb0404
Reject the unmapped dependency from the target configuration. Completes #679
...
Prevents having duplicate dependencies on the classpath.
2022-06-29 18:22:21 +01:00
modmuss50
da34ea4bf0
Only run the idea sync task when one or more run configs is generated for the project.
...
Speeds up a fabric API sync by a reasonable amount.
2022-06-26 14:04:53 +01:00