It sounds confusing, but...
how to create a simple empty folder in target folder with the help of gradle without copying artifacts and using "into()" method?
Is it a simple way to do it not using native Groovy, but Gradle?
Why don't you just try:
new File('lol').mkdirs()
With gradle:
project.file('lol').mkdirs()
Docs are here.
Now mkdir
is built-in:
project.mkdir "${someDir}/subdir"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With