Skip to content

Conversation

@Luna5ama
Copy link
Contributor

@Luna5ama Luna5ama commented Dec 7, 2022

Passing arguments around using Java environment properties is unsafe and causes problems when building with architectury plugin with Gradle parallel build enabled. This moves all the properties into TransformerContext, since they are unique per transform task.
The Logger still has an old global access API just to keep things working. Same with SimpleTransformerContext, it still reads values from environment properties to maintain some compatibility. However, those should be replaced in the future. Some changes also have to be done on architectury-plugin to get it to work with these changes. There will be a pull request for it.

@MaxNeedsSnacks MaxNeedsSnacks requested review from a team and shedaniel April 10, 2023 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant