Zak Taccardi
09/28/2022, 7:27 PM@OutputDirectory val outputDir: Property<Directory> = objects.directoryProperty()
@Internal
val outputFile: Provider<RegularFile>
get() = outputDir
.map { it.file("SharedGroovyCode.groovy") }
outputDir
is the main output here, and outputFile
is just an accessor to more conveniently access a subset of that output downstream.Chris Lee
09/28/2022, 7:28 PMZak Taccardi
09/28/2022, 7:28 PM@Internal
if it can expose outputs as inputs to other tasksVampire
09/28/2022, 9:30 PMProperty<Directory>
and not DirectoryProperty
?outputDir.file("Shared...")
Zak Taccardi
09/28/2022, 9:35 PM