This message was deleted.
# plugin-development
s
This message was deleted.
e
Task dependency information is carried by the provider type (and its subclass property) afaik. My guess is whats inside of it it doesnt really matter and is just its representation.
(uninformed opinion of cos)
p
Yes, the dependencies are correctly detected, but RegularFileProperty represents a file, while DirectoryProperty represents a, well, directory. Property<File> or Property<Path> can be both, because the Java File/Path api doesnโ€™t have such distinction.
๐Ÿ‘๐Ÿพ 1
๐Ÿ‘ 1
โ˜๏ธ 1
โ˜๐Ÿพ 1
j
i might be wrong on this, but I thought RegularFileProperty implied relative path sensitivity and the others, path sensitivity depends on the representation in the value and/or a specific annotation
v
You are wrong @John ๐Ÿ™‚ Path sensitivity and so on is controlled by annotations on inputs and outputs. That can be on both types. But @Philip W already said the main point, it is clearer semantics of whether the subject is a file or directory.
โž• 1
j
thanks for the correction. so RegularFileProperty are not relative path sensitivity by default?
j
ok thanks. I am aware of the annotation, but for some reason i was under the impression that RegularFileProperty specifically defaulted to relative
i have some annotating to do
v
I think absolute is always the default iirc, as it is the safest bet if not someone said "relative" is information enough.
๐Ÿ‘ 1