title: The Hilt Android Gradle plugin is applied but no com.google.dagger:hilt-android-compiler dependency was found
body: <p>I'm getting the error &quot;The Hilt Android Gradle plugin is applied but no <code>com.google.dagger:hilt-android-compiler</code> dependency was found.&quot; while building the project.</p>
  <p>Here's how I'm adding hilt to my project.</p>
  <p><a href="https://i.stack.imgur.com/lVXim.png" rel="noreferrer"><img src="https://i.stack.imgur.com/lVXim.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/JuPyx.png" rel="noreferrer"><img src="https://i.stack.imgur.com/JuPyx.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/cXN7Q.png" rel="noreferrer"><img src="https://i.stack.imgur.com/cXN7Q.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/jsRU8.png" rel="noreferrer"><img src="https://i.stack.imgur.com/jsRU8.png" alt="enter image description here" /></a></p>