view antlib/ToLowerCase.kt @ 31:99a0eb385c9a default tip

Work around annoying Swing glitch.
author David Barts <n5jrn@me.com>
date Sat, 20 Aug 2022 09:19:49 -0700
parents e90d290a9a8d
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())
    }
}