buildFileInvocationText
suspend fun ConfigurationName.buildFileInvocationText(invokesConfigurationNames: InvokesConfigurationNames): String(source)
Attempts to determine the most idiomatic way of invoking the receiver configuration name. Typically, this will just be a function with a matching name. However, if a configuration is non-standard (e.g. internalReleaseImplementation
) and the build file is using the Kotlin Gradle DSL, then the configuration must be invoked as a String extension function instead (e.g. "internalReleaseImplementation"(libs.myDependency)
).
Return
The text used to add a dependency using this ConfigurationName, in this project.
Since
0.12.0