added 'writeClasspath' target to gradle files\n Exports the classpath including all dependencies to a file that can be used by rosprolog in order to be able to run java methods.
updated rosprolog script to use the 'classpath.txt' files generated during build for assembling the Java classpath for the Prolog environment