Under linux you may use pkill:
pkill -f '.*GradleDaemon.*'
Under windows you may use wmic:
WMIC PROCESS where "Name like 'java%' AND CommandLine like '%GradleDaemon%'" Call Terminate
PS. Why “no scripting” when it is probably the easiest solution?