hello there, how do i get a formatted date string ...
# dsl
a
hello there, how do i get a formatted date string in a kotlin dsl gradle script?
its all about the imports:
Copy code
import java.text.SimpleDateFormat
import java.util.Date

val format = SimpleDateFormat("YYYY-MM-DD_HH-mm-ss")
val dir = format.format(Date())
m
this question should be in #gradle