comparison 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
comparison
equal deleted inserted replaced
28:c310ec097194 29:e90d290a9a8d
1 class ToLowerCase : org.apache.tools.ant.Task() {
2 var value: String? = null
3 var output: String? = null
4
5 override fun execute(): Unit {
6 project.setNewProperty(output, value!!.lowercase())
7 }
8 }