title: InteliJ IDEA artifact not configured properly with Gradle
body: <p>A gradle project configured with <strong>wrapper</strong> version <strong>3.5</strong>. This gradle wrapper version works properly when import as project in <strong>Intelij IDEA 2017.1</strong> and IDEA <strong>war artifact</strong> are available.</p>
  
  <p>I tried to update gradle wrapper version to <strong>4.0.2</strong> and IDEA could not configure artifacts, it shows this Warning:</p>
  
  <pre><code>Warning:&lt;i&gt;&lt;b&gt;root project 'dummy-trunk': Web Facets/Artifacts will not be configured properly&lt;/b&gt;
  Details: org.gradle.internal.typeconversion.UnsupportedNotationException: Cannot convert the provided notation to a File or URI: .
  The following types/formats are supported:
    - A String or CharSequence path, for example 'src/main/java' or '/usr/include'.
    - A String or CharSequence URI, for example 'file:/usr/include'.
    - A File instance.
    - A Path instance.
    - A URI or URL instance.&lt;/i&gt;
  </code></pre>
  
  <p>Maybe someone with the same problem?</p>
  
  <p>I don't know how to get more info about the warning.
  I tried to run <code>&gt; gradlew idea -d</code> but this debug ouput do not show the warning.</p>