title: How to read a json file into build.gradle and use the values the strings in build.gradle file
body: <p>for example,
  read the json file in <code>build.gradle</code> and use the json values as strings in the file</p>
  
  <pre><code>{
    "type":"xyz",
    "properties": {
      "foo": {
        "type": "pqr"
       },
       "bar": {
         "type": "abc"
       },
       "baz": {
         "type": "lmo"
       }
    }
  }
  </code></pre>
  
  <p>I need to call <code>properties.bar.type</code> and <code>abc</code> should be replaced there.</p>
  
  <p>I need to convert these values to <code>string</code> and use in <code>build.gradle</code> file</p>