spring-gradle-plugins / dependency-management-plugin

A Gradle plugin that provides Maven-like dependency management functionality
696 stars 87 forks source link

Add Kotlin code snippet for accessing a configuration's imported properties #386

Closed quaff closed 5 months ago

wilkinsona commented 5 months ago

This doesn't work, as noted in the documentation:

https://github.com/spring-gradle-plugins/dependency-management-plugin/blob/68f86ea8ffbb3c0401fb9214b644fbdcda5fdc2b/src/docs/asciidoc/index.adoc?plain=1#L711

It isn't supported as the functionality relies on Groovy's methodMissing:

https://github.com/spring-gradle-plugins/dependency-management-plugin/blob/90d9e1ad365bcbcfe6354e269e34712354fc46c4/src/main/java/io/spring/gradle/dependencymanagement/internal/dsl/StandardDependencyManagementExtension.java#L155-L173