java - IntelliJ IDEA using JavaScript "version" of dependency specified in Gradle build file? -




this issue (past couple days) started occurring on 1 of development machines.

i'm using eclipse's vert.x dependency web project:

build.gradle

dependencies {     ...     // kotlin     compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version"     // vert.x web framework     compile group: 'io.vertx', name: 'vertx-core', version: '3.4.2'     compile group: 'io.vertx', name: 'vertx-web', version: '3.4.2'     ... } 

this has worked fine in past - think triggering action upgrading intellij 2017.2.2, now:

  1. intellij cannot resolve of -web imports:

enter image description here

  1. if examine dependencies list module, javascript version of dependency shown?

how did happen, , how can make sure it's recognized java dependency?

enter image description here

edit: sample project available here: https://youtrack.jetbrains.com/issue/idea-177950

this bug in kotlin plugin fixed in version 1.1.4-2. after update plugin, need delete incorrect libraries , reimport project gradle have project fixed.





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -