Open JLLeitschuh opened 6 years ago
Hey @JLLeitschuh, could you try this again with the Kotlin 1.2 IntelliJ plugin and the latest distribution snapshot (which includes Kotlin 1.2):
./gradlew wrapper --gradle-distribution-url https://repo.gradle.org/gradle/dist-snapshots/gradle-kotlin-dsl-4.5-20171129024112+0000-all.zip
Will give this a shot, yes.
@JLLeitschuh could you get back to us with your findings on this issue using the Kotlin 1.2 toolchain?
@eskatos I'm still seeing exactly the same problem in the IntelliJ logs.
Versions:
------------------------------------------------------------
Gradle 4.3.1
------------------------------------------------------------
Build time: 2017-11-08 08:59:45 UTC
Revision: e4f4804807ef7c2829da51877861ff06e07e006d
Groovy: 2.4.12
Ant: Apache Ant(TM) version 1.9.6 compiled on June 29 2015
JVM: 1.8.0_92 (Oracle Corporation 25.92-b14)
OS: Mac OS X 10.13.2 x86_64
Other Versions:
IntelliJ IDEA 2017.3.1 (Ultimate Edition)
Build #IU-173.3942.27, built on December 11, 2017
Licensed to Plexxi, Inc. / Jonathan Leitschuh
You have a perpetual fallback license for this version
Subscription is active until December 14, 2018
JRE: 1.8.0_152-release-1024-b8 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.13.2
IntelliJ Kotlin Plugin Version:
1.2.0-release-IJ2017.3-1
Still seeing with:
1.2.20-release-IJ2017.3-1
Issue still exists with this version combo:
------------------------------------------------------------
Gradle 4.4.1
------------------------------------------------------------
Build time: 2017-12-20 15:45:23 UTC
Revision: 10ed9dc355dc39f6307cc98fbd8cea314bdd381c
Groovy: 2.4.12
Ant: Apache Ant(TM) version 1.9.9 compiled on February 2 2017
JVM: 1.8.0_92 (Oracle Corporation 25.92-b14)
OS: Mac OS X 10.13.2 x86_64
IntelliJ Kotlin Plugin Version:
1.2.20-release-IJ2017.3-1
Gradle 4.4.1 comes with Gradle Kotlin DSL 0.13.2 that brings Kotlin 1.1.51.
Could you try again with Gradle 4.5-rc-2?
I am getting the same issue. Gradle 4.6, Kotlin 1.2.31, Intellij 2018.1 (community) Kotlin plugin 1.2.31-2018.1. JDK: 1.8.0_152
Since upgrading from IntelliJ Kotlin Plugin 1.2.30-2018.1, Intellij Inspections hang on all Kotlin files now, not just Gradle Kotlin DSL, so I wonder if this is more to do with the IntelliJ Kotlin plugin and not so much with the Gradle Kotlin DSL? (IntelliJ is now basically unusable for Kotlin development.)
Let me start off by apologizing because this is by no means a minimalist code example. I will see what I can do to create a smaller example at some point in the future. I just wanted to start by making sure that I captured the bug somewhere.
Unfortunately, the exception that I get doesn't tell me what line the problem is coming from.
Expected Behavior
I have a subproject build file that looks something like this:
I can compile it fine with Gradle but IntelliJ doesn't do syntax highlighting correctly on the file.
Current Behavior
I get this exception in the IntelliJ log files
Steps to Reproduce (for bugs)
Your Environment
IntelliJ Kotlin Plugin version
1.1.60-release-IJ2017.2-1
I was running a much older version of the plugin and I was still seeing the problem then as well.