Ich versuche, @PropertySource für meine Spring-basierte Anwendung zu konfigurieren.Wie erstellt man ein Java-Array in Kotlin für @PropertySource?
In Java, könnte ich so etwas tun:
@PropertySource(value = {"application.properties","other.properties" })
Ich versuchte arrayOf
in Kotlin aber ich mit einem Typenkonflikt am Ende:
@PropertySource(value = arrayOf("application.properties", "other.properties"))
Was ist der richtige Weg, hier zu gehen ?