How can I access the user's home directory?

you can always use

System.getProperty("user.home")

to get the user home directory. This is a java, not a specific gradle functionality.

regards, René

1 Like