151 Commits
Author SHA1 Message Date
SKBotNL a714ff2768 Update a few vulnerable dependencies 2025-10-11 00:44:19 +02:00
SKBotNL 264ed75931 Make Gradle build VanillaGradle from source
Also: update Gradle to 8.12
2025-10-10 22:19:49 +02:00
SKBotNL 8f007a30a4 Port to 1.16_combat-6 2025-10-10 00:16:31 +02:00
Connor Hartley 733bf7910a fix spotless check on windows (#3783) 2023-01-07 20:40:20 -08:00
zml b8e23db093 chore(deps): Bump QF to 1.9.0 2022-12-12 19:43:25 -08:00
zml 1be29cc794 build: Decompile game using quiltflower for more readable output 2022-10-16 16:42:11 -07:00
zml ae86a5c88c *: apply the import order from SpongeAPI consistently
This mostly resolves the import order issues introduced when remapping
2022-10-16 16:41:40 -07:00
zml d8332fccdd build: Bump dependency versions
various gradle plugins
bump asm to 9.4 for compat with newer Java versions
misc build-time dependencies
2022-10-15 22:29:28 -07:00
Morpheus 235f3dd293 Remove timings from implementation
Users should use a profiler or sampling plugin should they require the use of timings.
2022-03-15 20:13:35 +00:00
Gabriel Harris-Rouquette ad2af478d7 Add modlauncher-transformers project
A general purpose project to enable SpongeForge and SpongeVanilla
to ship and share the same transformers thereby reducing code
duplication.

Signed-off-by: Gabriel Harris-Rouquette <gabizou@me.com>
2022-02-25 00:25:51 -05:00
ImMorpheus 5fa992b782 Revert "remove timings"
This reverts commit 3026c98754.
2022-01-29 23:49:57 +01:00
ImMorpheus 3026c98754 remove timings 2022-01-29 23:34:50 +01:00
Gabriel Harris-Rouquette 3de179c18e Add Git details to jar manifests
Signed-off-by: Gabriel Harris-Rouquette <gabizou@me.com>
2021-10-24 22:21:12 -07:00
Daniel Naylor 14b2521be9 vanilla: Add dependency resolution and 0.3.0 plugin-spi
This ensures plugins are loaded in an appropriate order, so plugins without dependencies are loaded first, and the algorithm recursively determines the load order based on satisifed dependencies. BEFORE dependencies can be supported by uncommenting the code within the TODOs in DependencyResolver, it treats thouse as "optional after" deps on the target -- though will still fail if the dependency is not there and is not optional.

If we have optional dependencies, there is a chance that a cyclic chain may occur. For optional deps, however, they should be able to handle a dependent plugin being loaded before them because they are already "optional". Thus, if we find that no plugins were loaded in a pass and but there were optional dependencies that could be ignored in that scenario, we attempt to load plugins that only have their compulsory dependencies loaded.

As for plugin-spi 0.3.0, migrate to 'sponge_plugins.json' as the
standard metadata file that will be read by Sponge.
2021-09-04 16:04:41 -05:00
Gabriel Harris-Rouquette 9e4bcb7029 Apply Transformations on ArchetypeVolumes
This presents the required objects to perform positional transformations
on all entities/blocks/etc. within a Volume. The key with these changes
is that certain objects have requirements to perform "rotations" and
"mirroring" as a middle step. This is all built to support that out of
the box using the new Transformation API.
Signed-off-by: Gabriel Harris-Rouquette <gabizou@me.com>

Signed-off-by: Gabriel Harris-Rouquette <gabizou@me.com>
2021-07-21 00:02:10 -07:00
Daniel Naylor 94ddd44907 Add Transformation 2021-07-20 23:29:54 -07:00
zml 1c8ea4e516 Build impl with javac 11 to work around compiler bugs 2021-07-13 16:16:31 -07:00
zml e31feeeaa6 Correct implementation of has + supports event filters
Tidy up filters while we're in the area too
2021-07-11 18:20:38 -07:00
Chris Sanders 5c5a106702 Strip plugin-spi from common applaunch
Signed-off-by: Chris Sanders <zidane@spongepowered.org>
2021-06-25 23:39:13 -05:00
zml db2e2abfe7 build: Run event implementation generator automatically on project import 2021-06-08 10:35:14 -07:00
zml dbdb4ad451 bump api, make dep versions gradle properties, bump gradle 2021-05-27 22:32:01 -07:00
zml c00a0cdf55 build: temporary fix for use in Eclipse 2021-05-15 16:10:39 -07:00
Gabriel Harris-RouquetteandDaniel Naylor 4e13b8b149 Move timings to it's own library (#3397)
* Move timings to it's own library

Plugins looking to keep using timings and creating them
will be able to do so by depending on org.spongepowered:timings.
It is verbatim what timings existed in API, and Sponge
will still ship the timings implementation itself.

Signed-off-by: Gabriel Harris-Rouquette <gabizou@me.com>

* Move timings implementation

Signed-off-by: Gabriel Harris-Rouquette <gabizou@me.com>

* Add timings to the Mixin deps

* Ensure that timings is downloaded.

This might not be the right section for this, but I didn't think it should go in appLaunch because it has nothing to do with that.

Co-authored-by: Daniel Naylor <git@drnaylor.co.uk>
2021-05-09 12:36:21 +01:00
zml c767c26480 build: Bump Configurate to 4.1.1 2021-05-08 22:39:23 -07:00
zml 7928254d14 Update licenser + shadow, generate templates on IDE import
This makes sure there's always some version of generated classes
that exists from the IDE's perspective
2021-04-27 19:20:24 -07:00
zml 8521dfde65 build: Bump to VanillaGradle 0.2 and Gradle 7 (#3381)
This is likely require a full re-import in most IDEs due to some
organizational changes.
2021-04-25 18:57:04 -07:00
zml fda6becdd7 chore: Bump java9hacks for J16 support and update run configs 2021-04-02 14:02:48 -07:00
zml 3f04b38687 Bump guice to 5.0.1 (#3333)
Because of our custom SpongeInjectionPoint and use of Guava 21, we have
to use a fork of Guice 5.0.1 that restores API removed in Guice 5
without a suitable alternative.

Upstream issue: https://github.com/google/guice/issues/1121

This newer version of Guice is needed to maintain compatibility with
newer Java versions which plugin developers may want to use.
2021-03-28 22:51:59 -07:00
Zach Levis 98eac41198 adventure: Bump 4.6.0 -> 4.7.0 2021-03-08 17:07:28 -08:00
zml c615493a9d vanilla: Set up basic integration testing in CI (#3313)
Also: fix some issues in the installer, and auto-populate the MC version for the installer.
2021-03-07 15:16:44 -08:00
Zach Levis a64a79ee31 build: Enable Mixin hotswap agent
Hopefully it works?
2021-03-06 19:52:36 -08:00
Zach Levis f0fecddb02 build: Bump adventure to 4.6.0 2021-03-02 18:53:46 -08:00
Zach Levis d03dc8652f build: Add per-java version run configurations and more colourful logging
(now providing colours in IntelliJ!)
2021-02-25 21:42:04 -08:00
zml 9d0b817932 Begin restoring rich console features (#3303)
Redesign installer to avoid creating a subprocess while we're at it
2021-02-24 10:19:20 -08:00
Zach Levis 4b129bc9c0 vanilla: Expose plugins as potential Mixin containers 2021-02-20 23:09:40 -08:00
Zach Levis 72a1497fe1 build: Bump VanillaGradle to release, tidy up repo declarations 2021-02-01 00:54:20 -08:00
Zach Levis 3753b5e363 build: Only add the shadow jar as an artifact once 2021-01-30 20:39:26 -08:00
Zach Levis bd129e3b55 vanilla/installer: Run all downloads and remapping on a shared thread pool 2021-01-30 19:51:07 -08:00
Zach Levis a15207896b build: Remove uses of deprecated Gradle API 2021-01-30 15:48:36 -08:00
Zach Levis 155b7a1289 1.16.5 2021-01-29 15:09:22 -08:00
Zach Levis a5629f7ee7 Migrate to official class names with VanillaGradle
Official names are used in production as well.
2021-01-29 15:09:20 -08:00
Zach Levis 56f36a1f3a chore: Bump adventure to 4.4.0 2021-01-17 21:25:47 -08:00
Zach Levis f4c39d76b5 chore: Bump ASM to 9.0
This removes a barrier to running on newer Java versions.
2021-01-16 22:20:51 -08:00
Chris Sanders cde9823dc5 Remove accessors from Vanilla platform.
This is a rule I am putting into place for our platform projects that unless the platform needs an accessor (for example, if we transform a Forge class we can actually do so to access a field not accessible, that cannot go into common of course), the platform will not run an accessors sourceset. This is a QOL change as it keeps all of our accessors largely together and cuts down on a sourceset to process during compilation.

This change is done for SpongeVanilla, SpongeForge is left alone as it is not being worked on currently.

Signed-off-by: Chris Sanders <zidane@spongepowered.org>
2021-01-10 14:16:32 -06:00
Gabriel Harris-Rouquette e34583a1a1 Uncomment erroneously commented out reobf
Signed-off-by: Gabriel Harris-Rouquette <gabizou@me.com>
2020-12-28 13:56:31 -08:00
Gabriel Harris-Rouquette 1c47d74244 Upgrade CopyPasta to use ArchetypeVolumes
Signed-off-by: Gabriel Harris-Rouquette <gabizou@me.com>
2020-12-27 12:00:37 -08:00
Gabriel Harris-Rouquette 1d5d6c3460 Split Minecraft dependency vs version strings
Signed-off-by: Gabriel Harris-Rouquette <gabizou@me.com>
2020-12-22 17:47:22 -08:00
Riley Park 46fdb6b07d Rename mapping variables 2020-12-09 23:14:02 -08:00
Riley Park bd10bb5de7 Adventure 4.3.0 2020-12-03 18:04:35 -08:00
Gabriel Harris-Rouquette 7fe4cfbf5e SpongeCommon is dead. Long live Sponge
Signed-off-by: Gabriel Harris-Rouquette <gabizou@me.com>
2020-12-01 12:31:13 -08:00