Slackbot
08/23/2023, 10:00 AMVampire
08/23/2023, 10:13 AM.kt file? Precompiled script plugin? ...?Julio Cesar Bueno Cotta
08/23/2023, 10:14 AMscmVersion is an extension from a 3rd party plugin, I just need to read the value... I am coding my plugin in .kt and using it in a included buildVampire
08/23/2023, 10:18 AMkotlinDsl() dependency to use the Kotlin DSL enhancements by Gradle, you can use the<TypeOfTheExtension>(). If not, you get it from extensions for example with extensions.findByType or extensions.findByType. But with the latter you will only get an Any back and then need to cast, so you can right away get it by type unless there are multiple extensions of that type which deem unlikely in your case.Julio Cesar Bueno Cotta
08/23/2023, 10:22 AMthe strategy worked