as ExtensionAware configure<NamedDomainObjectContainer<RunConfiguration>> { // cast to PolymorphicDomainObjectContainer to access the create method used bellow. @Suppress("UnstableApiUsage") this as PolymorphicDomainObjectContainer<RunConfiguration> create("Start Application", Application::class) { // … } } } } } Kotlin
"4.12" val mockito = "2.19.1" val mockito_kotlin = "1.6.0" val postgres = "42.2.4" val prometheus = "0.6.0" val springboot = "2.1.3.RELEASE" val swagger = "1.5.20" }