view antlib/ToLowerCase.kt @ 29:e90d290a9a8d

Remove dependence on Nashorn.
author David Barts <n5jrn@me.com>
date Mon, 13 Jun 2022 09:21:24 -0700
parents
children
line wrap: on
line source

class ToLowerCase : org.apache.tools.ant.Task() {
    var value: String? = null
    var output: String? = null

    override fun execute(): Unit {
        project.setNewProperty(output, value!!.lowercase())
    }
}