Commit Graph

502 Commits

Author SHA1 Message Date
Juuxel
7c9edfedee Hook AbstractPlugin to LoomGradleExtension.isForge 2020-07-30 15:04:36 +03:00
Juuxel
f55bde4ece Clean up FsPathConsumer 2020-07-30 15:01:20 +03:00
Juuxel
a44bdba5d6 Start adding a way to disable Forge processing 2020-07-30 14:57:28 +03:00
Juuxel
a45e9f4729 Add warning in RemapJarTask for using mixins in Forge projects 2020-07-30 14:44:03 +03:00
Juuxel
186b09518b Revert "Try using SpecialSource directly instead of going through ForgeGradle"
This reverts commit 3f9c6978.
While this could work in theory, I'd also have to reimplement and run
the ForgeGradle jar stripping function myself. Delegating the work to
ForgeGradle is simple enough for now, though it limits Loom to Gradle 5.
2020-07-28 00:44:31 +03:00
Juuxel
3f9c697834 Try using SpecialSource directly instead of going through ForgeGradle 2020-07-28 00:40:54 +03:00
Juuxel
ab01d8c989 Force project-based file storage 2020-07-27 23:40:24 +03:00
Juuxel
a771c882e5 Remove tests 2020-07-27 23:06:23 +03:00
Juuxel
a54e22ddb2 Checkstyle 2020-07-27 23:04:56 +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
Juuxel
2af551366b Add Forge dependencies to projects 2020-07-27 21:55:55 +03:00
Juuxel
7c1e378f5e Add the Forge maven in AbstractPlugin 2020-07-27 20:53:35 +03:00
Juuxel
d062055eaf Inject Forge earlier to remap its SRG names to Yarn 2020-07-27 20:40:59 +03:00
Juuxel
38721a3f8c Add non-patched and Forge classes to the game jar 2020-07-27 20:29:56 +03:00
Juuxel
3ff0f73791 Switch back to Atlas 2020-07-27 19:39:25 +03:00
Juuxel
7002bb6ded broken 2020-07-27 19:34:42 +03:00
Juuxel
09aa17bb1d Fix dumb bug with MinecraftProvider.copyNonClassFiles 2020-07-27 18:54:52 +03:00
Juuxel
4378a48f99 Things 2020-07-27 18:48:08 +03:00
Juuxel
145451ab95 Revert "Use TR instead of Atlas for simple resource bundling and lambdas"
This reverts commit 2d0ba63f
2020-07-27 18:11:27 +03:00
Juuxel
2d0ba63fdb Use TR instead of Atlas for simple resource bundling and lambdas 2020-07-27 17:57:44 +03:00
Juuxel
0958d98269 It "works" now, though resources are gone 2020-07-27 17:31:49 +03:00
Juuxel
e7d779a64b Use ForgeGradle for producing SRG jars for patching 2020-07-27 17:01:28 +03:00
Juuxel
ffa70d6637 Some Forge stuff 2020-07-27 15:58:31 +03:00
modmuss50
9d142efb01 Use docker containers in github actions, should be more reliable 2020-07-27 00:09:42 +01:00
modmuss50
db1fe88fcc Fix genSources on sub projects 2020-07-26 23:42:15 +01:00
Reece Dunham
1955bcb2ea General cleanup 2020-07-26 21:32:10 +01:00
modmuss50
6083146127 Post merge checkstyle 2020-07-26 21:26:25 +01:00
modmuss50
de688c14ad Merge branch 'shared_caches' into dev/0.5
# Conflicts:
#	src/main/java/net/fabricmc/loom/AbstractPlugin.java
2020-07-26 21:25:09 +01:00
modmuss50
cb52cabb18 Add Experimental CFR support. Line numbers and comments are not currently supported. 2020-07-26 21:22:17 +01:00
modmuss50
88f5894570 Deprecate using minecraft as the gradle extension name in place of loom. Both will work for now. 2020-07-26 21:16:22 +01:00
Jaideep Singh Heer
a6f7e2cbbb Fix issue #243 by using ResolvedConfiguration and ResolvedDependency. (#244)
* Fix issue #243 by using ResolvedConfiguration and ResolvedDependency.

* Fix AvoidStarImport build error.
2020-07-26 21:08:48 +01:00
Jonas Herzig
4aa840adfe Allow IDEA run configs to be generated for non-root projects (#236) 2020-07-26 21:05:14 +01:00
Fudge
d7f61512b5 Improve error handling in the case mappings or minecraft dependency was not provided #238) 2020-07-26 21:01:18 +01:00
modmuss50
9d318dd859 Use jetbrains annotations by default. (#240)
Minecraft is also remapped to use them. Any use of jsr should be removed.
2020-07-26 20:57:58 +01:00
modmuss50
bc3ff0180a Start 0.5 dev cycle 2020-07-26 20:56:23 +01:00
Jamie Mansfield
4eb699c2fb Match Mercury sourceCompatibility with Gradle (#224)
* Match Mercury sourceCompatibility with Gradle

* Fix checkstyle
2020-07-16 18:17:50 +01:00
ㄗㄠˋ ㄑㄧˊ
c2c3e5c3c6 github actions: add wrapper validation (#235)
It validates the checksums of Gradle Wrapper JAR files present in the source tree and fails if unknown Gradle Wrapper JAR files are found. https://github.com/gradle/wrapper-validation-action
2020-07-16 18:16:39 +01:00
modmuss50
2cf7d92796 Test against 6.6-rc-1 2020-07-15 00:52:58 +01:00
Octavia Togami
886d77ce0c Supply the configuration to the run Exec directly (#232)
* Supply the configuration to the run Exec directly

This allows the implicit task dependencies from project() dependencies
to flow into the run tasks.

* Make unmappedMods a CFC to track task information

Deprecates the old methods, and they should probably be removed with
0.5.
2020-06-29 15:25:05 +01:00
modmuss50
b359b83d25 Remove get/setDirection 2020-06-28 13:01:49 +01:00
modmuss50
a02f81bbaa checkstyle 2020-06-28 12:55:09 +01:00
modmuss50
296eb63645 small cleanup 2020-06-28 12:51:29 +01:00
modmuss50
a19fb0f691 Fix build? 2020-06-27 20:30:21 +01:00
modmuss50
32eb0bd3c8 First pass on "shareCaches". 2020-06-27 20:18:32 +01:00
modmuss50
2d7421d4ed Rengenerate and download all files with --refresh-dependencies (#227)
* Re generate all files with --refresh-dependencies

* Always re-process jar processors

* Update mixin compile extensions
2020-06-23 19:22:36 +01:00
modmuss50
2f6071991c Update mixin compile extensions 2020-06-21 19:29:49 +01:00
modmuss50
6e661c4bd7 Fix test sourceset not having minecraft 2020-06-19 14:08:01 +01:00
modmuss50
c1e4212eb8 update fernflower 2020-06-15 23:09:23 +01:00
modmuss50
b1ae5dee5d Test across java and gradle versions with github actions. (#218)
* Experiment with github actions

* Fix?

* another fix

* Fix?

* Change github actions run args

* Tried and tested is better right?

* spaces spaces spaces

* revert

* info

* Just 4.9

* Fixes to support building on newer gradle versions

* Forward log output and run tests on runtime gradle version

* Remove travis

* De-duplicate

* Remove daily action, doesnt seem to work so well.
2020-06-08 15:19:11 +01:00