getBuildScripts

fun ProjectLayout.getBuildScripts(): List<Path>(source)

Return all Gradle build scripts within the given project layout.

The method technically returns a collection of files, which could happen if the project has both a build.gradle and a build.gradle.kts file. However, in practice, we always expect this to return a single entry, as most projects would only ever have one or the other.