title: Jetpack Compose dependencies in existing Multi-Module app
body: <p>I'm facing issues while integrating jetpack compose in a multi-module project.</p>
  <p>One module library has all the dependencies for jetpack compose, and I am able to compile and Run the jetpack compose code written inside that module.</p>
  <pre><code> android {
      ...
     kotlinOptions {
        jvmTarget = '1.8'
        useIR = true
     }
  
     buildFeatures {
        compose true
     }
  
     composeOptions {
        kotlinCompilerExtensionVersion compose_version
        kotlinCompilerVersion '1.4.21'
     }
   }
  
  
  dependencies {
     ...
     implementation &quot;androidx.compose.ui:ui:$compose_version&quot;
     implementation &quot;androidx.compose.material:material:$compose_version&quot;
     implementation &quot;androidx.compose.ui:ui-tooling:$compose_version&quot;
     ...
  }
  </code></pre>
  <p>Where compose_version = '1.0.0-alpha09'</p>
  <p>Issue comes when I add that library module into app module and integrate the jetpack compose there. It requires to add all the dependencies inside app module's build.gradle.kts file also.</p>
  <p>After adding same code of lines, gradle task (:app:compileDebugKotlin) keeps running in infinite loop without any error message.</p>
  <p>What i am doing wrong here? any help would be appreciable. Thanks!</p>
  <p><strong><strong><strong><strong><strong><strong><strong><strong><strong>Update-1</strong></strong></strong></strong></strong></strong></strong></strong></strong>
  Running gradlew compileDebugKotlin --debug, It stuck with below stack-trace</p>
  <pre><code>2020-12-30T12:26:42.079+0530 [DEBUG] 
  [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on 
  daemon addresses registry.
  2020-12-30T12:26:42.079+0530 [DEBUG] 
  [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire 
  shared lock on daemon addresses registry.
  2020-12-30T12:26:42.080+0530 [DEBUG] 
  [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on 
  daemon addresses registry.
  2020-12-30T12:26:42.080+0530 [DEBUG] 
  [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on 
  daemon addresses registry.
  </code></pre>