title: Could not get unknown property 'a.b.c' for root project
body: <p>I got some source code and was asked to build it. It was a Gradle project. So I changed to the project directory and ran:</p>
  
  <pre><code>$ gradle clean assemble
  </code></pre>
  
  <p>and the following error came up:</p>
  
  <pre><code>...
  * What went wrong:
  A problem occurred evaluating root project 'pcase'.
  &gt; Could not get unknown property 'postgresql.jdbc' for root project 'pcase' of type org.gradle.api.Project.
  ...
  </code></pre>
  
  <p>There is a <code>settings.gradle</code> file in the project folder too. It contains:</p>
  
  <pre><code>rootProject.name = 'pcase'
  </code></pre>
  
  <p>I took a look at <code>build.gradle</code> and found lots of occurrences like</p>
  
  <pre><code>${project['x']}
  </code></pre>
  
  <p>For example:</p>
  
  <pre><code>buildscript {
    dependencies {
      ...
      // FlywayDB, JOOQ.
      classpath "org.postgresql:postgresql:${project['postgresql.jdbc']}"
      classpath "org.flywaydb:flyway-gradle-plugin:${project['flywaydb.plugin.version']}"
      classpath "nu.studer:gradle-jooq-plugin:${project['jooq.plugin.version']}"
      ...
  </code></pre>
  
  <p>What could be <code>${project['x']}</code>? Looks like associative array in bash and the build script tries to get the value of the key <code>'x'</code>.</p>
  
  <p>But I didn't find the place in code where this array would be declared and initialized.</p>
  
  <p>The question is: Is the project buildable or is it better to consult the company that worked at it before me?</p>