title: Failed to capture fingerprint of input files for task ':app:preDebugBuild' property 'compileManifests' during up-to-date check
body: <p>I'm setting firebase on my project and when I add inappmessaging-display lib this error appears:</p>
  <blockquote>
  <p>Dependency resolved to an incompatible version:
  Dependency(fromArtifactVersion=ArtifactVersion(groupId=com.google.firebase,
  artifactId=firebase-messaging, version=17.3.2),
  toArtifact=Artifact(groupId=com.google.firebase,
  artifactId=firebase-iid), toArtifactVersionString=[17.0.2]) FAILURE:
  Build failed with an exception.</p>
  <ul>
  <li>What went wrong: Failed to capture fingerprint of input files for task ':app:preDebugBuild' property 'compileManifests' during
  up-to-date check.  In project 'app' a resolved Google Play services
  library dependency depends on another at an exact version (e.g.
  &quot;[17.0.   2]&quot;, but isn't being resolved to that version. Behavior
  exhibited by the library will be unknown.
  Dependency failing: com.google.firebase:firebase-messaging:17.3.2 -&gt; com.google.firebase:firebase-iid@[17.0.2], but fire   base-iid version was 17.0.3.
  The following dependencies are project dependencies that are direct or have transitive dependencies that lead to the art   ifact
  with the issue.   -- Project 'app' depends onto
  com.google.firebase:firebase-iid@17.0.3   -- Project 'app' depends
  onto com.google.firebase:firebase-messaging@17.3.2   -- Project 'app'
  depends onto com.google.firebase:firebase-ads@17.1.2   -- Project
  'app' depends onto
  com.google.firebase:firebase-inappmessaging-display@17.0.4   --
  Project 'app' depends onto
  com.google.firebase:firebase-analytics@16.0.6   -- Project 'app'
  depends onto com.google.firebase:firebase-analytics-impl@16.2.4   --
  Project 'app' depends onto
  com.google.firebase:firebase-inappmessaging@17.0.4   -- Project 'app'
  depends onto com.google.firebase:firebase-core@16.0.6   -- Project
  'app' depends onto
  com.google.firebase:firebase-measurement-connector-impl@17.0.4   --
  Project 'app' depends onto com.google.firebase:firebase-config@16.1.3
  -- Project 'app' depends onto com.google.firebase:firebase-crash@16.2.1   -- Project 'app' depends
  onto com.google.firebase:firebase-abt@16.0.1   -- Project 'app'
  depends onto com.google.firebase:firebase-perf@16.2.3   -- Project
  'app' depends onto
  com.google.android.gms:play-services-measurement-api@16.0.4
  For extended debugging info execute Gradle from the command line with ./gradlew --info :app:assembleDebug to see the dep   endency
  paths to the artifact. This error message came from the
  google-services Gradle plugin, report issues at https://<br />
  github.com/google/play-services-plugins and disable by adding
  &quot;googleServices { disableVersionCheck = false }&quot; to your build.gradle
  file.</li>
  </ul>
  </blockquote>
  <pre><code>project file
  
  buildscript {
      ext.kotlin_version = '1.3.11'
      repositories {
          google()
          jcenter()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:3.3.0'
          classpath 'com.google.gms:google-services:4.2.0'
          classpath ('com.google.firebase:firebase-plugins:1.1.5')
          classpath &quot;org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version&quot;
      }
  }
  plugins {
      id 'com.gradle.build-scan' version '1.16'
  }
  ext {
      support_library_version = '28.0.0' //use the version of choice
  }
  
  allprojects {
      repositories {
          google()
          jcenter()
      }
  }
  
  task clean(type: Delete) {
      delete rootProject.buildDir
  }
  
  
  app gradle file
  
  apply plugin: 'com.android.application'
  apply plugin: 'kotlin-android'
  apply plugin: 'kotlin-android-extensions'
  
  buildScan {
      licenseAgreementUrl = 'https://gradle.com/terms-of-service'
      licenseAgree = 'yes'
  }
  
  android {
      compileSdkVersion 28
      defaultConfig {
          applicationId &quot;com.myapp.pocapp&quot;
          minSdkVersion 25
          targetSdkVersion 28
          versionCode 1
          versionName &quot;1.0&quot;
          testInstrumentationRunner &quot;android.support.test.runner.AndroidJUnitRunner&quot;
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
  }
  
  dependencies {
      implementation fileTree(dir: 'libs', include: ['*.jar'])
      implementation &quot;com.android.support:animated-vector-drawable:$support_library_version&quot;
      implementation &quot;com.android.support:exifinterface:$support_library_version&quot;
      implementation &quot;com.android.support:cardview-v7:$support_library_version&quot;
      implementation &quot;com.android.support:customtabs:$support_library_version&quot;
      implementation &quot;com.android.support:support-media-compat:$support_library_version&quot;
      implementation &quot;com.android.support:support-v4:$support_library_version&quot;
      implementation &quot;org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version&quot;
      implementation &quot;com.android.support:appcompat-v7:$support_library_version&quot;
      implementation 'com.android.support.constraint:constraint-layout:1.1.3'
  
  
      testImplementation 'junit:junit:4.12'
      androidTestImplementation 'com.android.support.test:runner:1.0.2'
      androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  
      //Play services dependencies
      implementation('com.google.android.gms:play-services-plus:15.0.1')
      implementation('com.google.android.gms:play-services-gcm:15.0.1')
      implementation('com.google.android.gms:play-services-maps:15.0.1')
      implementation('com.google.android.gms:play-services-ads:15.0.1')
      implementation('com.google.android.gms:play-services-location:15.0.1')
      implementation('com.google.android.gms:play-services-analytics:16.0.3')
      implementation('com.google.android.gms:play-services-basement:15.0.1')
      implementation('com.google.android.gms:play-services-auth:16.0.0')
      implementation('com.google.android.gms:play-services-drive:15.0.1')
  
      //General google dependencies
      implementation('com.android.installreferrer:installreferrer:1.0')
      implementation('com.android.billingclient:billing:1.2')
  
      //Firebase dependencies
      implementation('com.google.firebase:firebase-core:16.0.6')
      implementation('com.google.firebase:firebase-perf:16.2.3')
      implementation('com.google.firebase:firebase-ads:17.1.2')
      implementation('com.google.firebase:firebase-crash:16.2.1')
      implementation('com.google.firebase:firebase-config:16.1.3')
      implementation('com.google.firebase:firebase-messaging:17.3.2')
      implementation('com.google.firebase:firebase-inappmessaging:17.0.4')
      implementation('com.google.firebase:firebase-inappmessaging-display:17.0.4')
  
  }
  
  apply plugin: 'com.google.gms.google-services'
  </code></pre>
  <p>I already updated all libs to latest versions.</p>