I have the following in a groovy-based build script. How do I do the same in a kotlin-based script?

```
processResources {

    filesMatching('application.properties'){
        expand(project.properties)
    }

}

```