Slackbot
06/12/2022, 4:35 PMdaniel
06/12/2022, 5:43 PMValueSource
for the configuration cache enabled provider.Javi
06/12/2022, 5:52 PMJavi
06/12/2022, 5:52 PMVampire
06/12/2022, 8:08 PMJavi
06/12/2022, 9:26 PMJavi
06/12/2022, 9:51 PMJavi
06/12/2022, 11:27 PMJavi
06/13/2022, 11:56 AMJavi
06/13/2022, 6:47 PM.git
as DirectoryProperty
in my extension, it is not working šJavi
06/13/2022, 6:47 PMpublic abstract class SemverExtension @Inject constructor(objects: ObjectFactory) {
public val tagPrefix: Property<String> = objects.property<String>().convention(DefaultTagPrefix)
internal abstract val gitDirectory: DirectoryProperty
public companion object {
public const val extensionName: String = "semver"
internal fun register(project: Project): SemverExtension =
with(project) {
extensions.create<SemverExtension>(extensionName).apply {
gitDirectory.convention(project.layout.dir(project.provider { gitDir }))
}
}
}
}
Javi
06/13/2022, 6:47 PMJavi
06/13/2022, 6:51 PM@get:InputDirectory
, I am going to try thatJavi
06/13/2022, 6:51 PMgitDirectory
is public now with that annotationJavi
06/13/2022, 6:58 PMConfigurableFileCollection
, no successdaniel
06/13/2022, 7:25 PMJavi
06/13/2022, 8:51 PMis
...Javi
06/13/2022, 8:51 PMJavi
06/13/2022, 8:55 PMVampire
06/13/2022, 9:00 PMJavi
06/13/2022, 9:20 PM