How to configure processResources in a kotlin build script?

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

processResources {

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

}
1 Like