title: gradle custom properties and println
body: <p>I'm very new to gradle so I'm trying to make sense of it. I'm trying to print the custom properties using <code>println</code> and it works when I just use the property.  But as soon as I put it in a string it fails and I'm not sure what is going on.</p>
  
  <p><strong>gradle.properties</strong> looks like this:</p>
  
  <pre><code>version = '2.0'
  description = 'Project Description'
  
  project.ext {
      winADTSDKManager = 'SDK Manager.exe'
      winADTSDKManagerPath = 'C:/Projects/WinSDKEnv/sdk/adt'
  }
  </code></pre>
  
  <p>in <strong>build.gradle</strong> I try to run the code:</p>
  
  <pre><code>task androidSDKManager &lt;&lt; { 
      description = 'Run Android SDK Manager'
  
      println project.ext.winADTSDKManagerPath
      println 'Starting: $project.ext.winADTSDKManagerPath'
  }
  </code></pre>
  
  <p>The output looks like this:</p>
  
  <p>c:\Projects\Prototypes\STouchGradle>gradle androidSDKManager
  :androidSDKManager
  'C:/Projects/WinSDKEnv/sdk/adt'
  Starting: $project.ext.winADTSDKManagerPath</p>
  
  <p>The second <code>println</code> statement is not printing the path like the one above. Any ideas on what is wrong with what im doing?</p>
  
  <p><strong>Update: 7/27/2014</strong>
  OK I figured it out. I need to use double quotes like this
      println "Starting: $project.ext.winADTSDKManagerPath"</p>