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:
- intellij cannot resolve of
-web
imports:
- if examine dependencies list module, javascript version of dependency shown?
how did happen, , how can make sure it's recognized java dependency?
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
Post a Comment