Eclipse example to copy jar to a folder after build and setting properties similar to ant build.properties

buildship

(Javid Alimohideen) #1

Hello,
I am trying to find some good examples/tutorials that uses Eclipse buildship. For starters, I am trying to find an example to copy the jar after build to a pre-defined directory location.
Also, in my project I need to reference some jar files for compile, but I am not sure how to set the directory location using a variable. In the below example, I have hard-coded the file system location. However, this location could be different for all developers, how can I make it a variable and have the developer change it without making a change to gradle build file.

compile fileTree(dir: 'C:\\Program Files\\IBM\\ILOG\\ODME38\\Developer\\lib', include: 'odmeall.jar')