Sodium Reloaded (Unofficial)

Sodium Reloaded (Unofficial)

0 Downloads

Using Architectury's Gradle Plugin for multiplatform services

xtrm-en opened this issue ยท 1 comments

commented

Request Description

Instead of using the Service API in net/caffeinemc/mods/sodium/client/services, how about using Architectury's multiplatform gradle plugin?

It would allow common usage of @Environment (see https://docs.architectury.dev/plugin/introduction#things_that_are_transformed), and use the @ExpectPlatform mechanism (see
https://docs.architectury.dev/plugin/expect_platform) to directly allow platform projects to provide their services implementation at compile time.

Note that the documentation repo has since been archived, but I believe the functionnality is still available.

commented

We do not wish to rely on Architectury Loom; the build script is designed with only loader-native tooling.