Caleb Cushing
12/27/2024, 6:20 PMProvider<File> into a `ProviderDirectory`; bonus points for doing it inside of a ValueSourceVampire
12/27/2024, 6:25 PMlayout.dir(fileProvider)Philip W
12/27/2024, 6:49 PMVampire
12/27/2024, 7:06 PMCaleb Cushing
12/27/2024, 7:22 PMCaleb Cushing
12/27/2024, 7:23 PMCaleb Cushing
12/27/2024, 7:23 PMVampire
12/27/2024, 9:21 PMdir to do it, shouldn't you?Philip W
12/27/2024, 9:29 PMPhilip W
12/27/2024, 9:31 PMCaleb Cushing
12/27/2024, 9:38 PMPhilip W
12/27/2024, 9:57 PMCaleb Cushing
12/27/2024, 9:58 PMCaleb Cushing
12/27/2024, 9:58 PMVampire
12/27/2024, 10:29 PMVampire
12/27/2024, 10:29 PMdirectoryProperty.fileProvider(fileProvider)Caleb Cushing
12/27/2024, 10:34 PMCaleb Cushing
12/28/2024, 2:13 AMspec.getParameters().getGitDirectory().fileProvider(gitDir);
to
spec.getParameters().getGitDirectory().set(gitDir);
if gitDir was a Provider<Directory> instead of a Provider<File>Caleb Cushing
12/28/2024, 2:16 AMspec.getParameters().getGitDirectory().set(project.getLayout().dir(gitDir));
is probably correctVampire
12/28/2024, 12:02 PMCaleb Cushing
12/28/2024, 2:27 PMVampire
12/28/2024, 4:59 PM.value(...) the property itself for method call chaning.