Basic build procedue using Gradle


(Aravind Kumar Sathyanarayanan) #1

I am very new gradle and groovy. We need to build and application using gradle (app already developed using groovy and gradle)… we get no help from develpment team on this.

How do i build it… I have gradle path set, did not set java_opts as did not know where to do it… I have to set user name and passwords for proxy in java opts. can i do that in env variables? My gradle is in c drive and my application in d drive… do i need to add anything in gradle bin from project…


(Aravind Kumar Sathyanarayanan) #2

Can someone reply to my query…


(René Groeschke) #3

Hello, I recommend to check the gradle userguide.

  1. How to set up proxy settings in gradle is described in http://gradle.org/docs/current/userguide/userguide_single.html#N10B42 Alternativly you can set proxy settings via JAVA_OPTS as env variable. Google helps here: http://i4t.org/2007/05/04/java-http-proxy-settings/

  2. No you needn’t put anything of your project to the gradle bin. Again, the Gradle userguide can help you: http://gradle.org/docs/current/userguide/userguide_single.html#tutorial_gradle_command_line

cheers, René