Lucas Holden
08/12/2025, 8:43 PMattributeProvider still tries to retrieve the extension property immediately and causes the plugin to fail to apply. (Line 23 of https://paste.ofcode.org/k36CjhiWRKJQkdv2FeyMZz)
Running it in project.afterEvaluate does allow the plugin to be applied, but the artifact transform is unusable due to being applied so late.
Does anyone know how to make this work?Lucas Holden
08/12/2025, 8:57 PMarchitectury {
platformSetupLoomIde()
neoForge()
platformExt {
platform.set(objects.named<MCPlatform>(MCPlatform.NEOFORGE))
}
}Lucas Holden
08/12/2025, 9:09 PMattributeProvider.Lucas Holden
08/12/2025, 9:13 PMVampire
08/13/2025, 9:48 AMregisterTransform calls doRegisterTransform
And doRegisterTransform calls asImmutable() on from and to which immediately realizes those lazy attributes.
It would probably be better and clearer if on artifact transform registration no attributeProvider method were available.Lucas Holden
08/13/2025, 7:34 PMVampire
08/13/2025, 7:55 PMattributeProvider removed in that case,
I'm just a user like you. 🙂