This message was deleted.
# plugin-development
s
This message was deleted.
e
I assume that build cache is only related to task. And plugins code that happens in apply is about the configuration cache.
m
AFAIK, it's the same guidance as for regular plugins: • For CC, don't use
task.project
, etc... https://docs.gradle.org/current/userguide/configuration_cache.html • For BC, don't use absolute paths, etc...
e
Thanks!
Is "$projectDir/...." considered absolute?
I mean at the end it is absolute but it is relative to the project
m
If your task input is annotated with PathSensitivity.Relative you're fine
e
haha, no idea what it means. Let me dig in documentation first.
šŸ‘ 1
v
The most problematic is not "writing" but testing BC and CC :)
šŸ™Œ 1
šŸ˜… 1
šŸ’Æ 1