Commit Graph

1220 Commits

Author SHA1 Message Date
shedaniel
7c819e748c Merge remote-tracking branch 'FabricMC/dev/0.13' into dev/0.13.0 2022-08-11 02:26:29 +08:00
shedaniel
7052f0f95f Add back support for architectury.common.json and quilt in AW remapping
Signed-off-by: shedaniel <daniel@shedaniel.me>
2022-08-11 02:26:20 +08:00
shedaniel
8457a11f8b Fix DownloadAssetsTask merge conflict mess-up
Signed-off-by: shedaniel <daniel@shedaniel.me>
2022-08-11 02:03:02 +08: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
shedaniel
216b4ce785 Merge remote-tracking branch 'FabricMC/dev/0.13' into dev/0.13.0
Signed-off-by: shedaniel <daniel@shedaniel.me>

# Conflicts:
#	src/main/java/net/fabricmc/loom/configuration/providers/mappings/MappingsProviderImpl.java
#	src/main/java/net/fabricmc/loom/extension/LoomGradleExtensionApiImpl.java
2022-08-11 00:59:05 +08:00
shedaniel
726569229a Handle more conflicts
Signed-off-by: shedaniel <daniel@shedaniel.me>
2022-08-11 00:56:01 +08:00
Juuxel
86f07dad08 Fix #699 (#701) 2022-08-10 17:45:51 +01:00
shedaniel
566158cbdf Fix merge conflicts with refreshDeps
Signed-off-by: shedaniel <daniel@shedaniel.me>
2022-08-10 15:47:11 +08:00
shedaniel
5526ee050c Update Architectury TinyRemapper
Signed-off-by: shedaniel <daniel@shedaniel.me>
2022-08-10 15:42:02 +08:00
shedaniel
66d13ebf6e Merge with Fabric 0.13, VSCodeProjectTask
Signed-off-by: shedaniel <daniel@shedaniel.me>
2022-08-10 15:30:17 +08:00
Juuz
cf28130f2e Merge with Fabric 0.13, stage 6 2022-08-09 17:41:57 +03:00
Juuz
c5386d8795 Merge with Fabric 0.13, stage 5 2022-08-09 17:37:04 +03:00
Juuz
42bf456302 Merge with Fabric 0.13, stage 4 2022-08-09 17:30:54 +03:00
Juuz
58f2f9445e Merge with Fabric 0.13, stage 3 2022-08-09 17:26:18 +03:00
Juuz
56995fd210 Merge with Fabric 0.13, stage 2 2022-08-09 17:25:34 +03:00
Juuz
48126bd5d6 Merge with Fabric 0.13, stage 1 2022-08-09 17:18:43 +03:00
Juuz
ba25ab241c Remove ForgeLocalMod
Closes #89.
2022-08-09 17:03:24 +03:00
Juuz
79a28accf7 Deprecate ForgeLocalMod API for removal 2022-08-09 16:54:21 +03:00
Juuz
0677b5d2a7 Remove incorrect non-mod check for Forge JIJ
Fixes #96.
2022-08-09 16:37:06 +03: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
shedaniel
b74d310311 Merge remote-tracking branch 'FabricMC/dev/0.12' into dev/0.12.0 2022-08-06 10:41:42 +08: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
305b48052d 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 15:43:26 +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
Juuz
ae67351b90 Merge remote-tracking branch 'upstream/dev/0.12' into dev/0.12.0 2022-08-03 12:16:22 +03: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
c4240eff16 Ensure that deps with injected ifaces are on both the compile and runtime classpath. (#689) 2022-07-26 12:47:00 +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
shedaniel
b9905c322c Support JarJar (#93)
* Support JarJar

Signed-off-by: shedaniel <daniel@shedaniel.me>

* Use @Input instead @Internal and remove random lines

Signed-off-by: shedaniel <daniel@shedaniel.me>

* Resolve reviews

Signed-off-by: shedaniel <daniel@shedaniel.me>

* Turn them into records

Signed-off-by: shedaniel <daniel@shedaniel.me>
2022-07-18 01:09:57 +08:00
Juuz
0c6b79d205 Fix checkstyle
Yes, I did manage to mess it up on a one-liner!
2022-07-17 12:41:35 +03:00