Comments (25)
I am considering moving away from spek due to this problem because it basically pops up with every update. Any plans to address this problem?
from spek.
Just merged #991, 2021.3 plugin is available in the dev channel for now: https://plugins.jetbrains.com/plugin/10915-spek-framework/versions/dev/157940. Appreciate it if you can test it out, I'll trigger a full release after that.
from spek.
Apologies, triggering it now.
from spek.
Thanks @sepatel, I'll trigger a release tonight.
from spek.
@raniejade Sorry for the late response, I've tried a lot of things (clearing caches, rebuilding the project etc.) which didn't work. But after removing my .idea
and .gradle
folders it works again 🎉
Tested successfully on IntelliJ IDEA 2021.3.2 (Community Edition)
from spek.
@FWDekker interesting, I'm not familiar with: <incompatible-with>com.intellij.modules.androidstudio</incompatible-with>
but let me try it out, thanks! We are already building the plugins separately (and they have their own plugin.xml file), so it should be possible.
from spek.
I just merged a new PR (#994) which should include the incompatible-with
changes. Additionally, it bumps the until-build to 223.*
. It should be published in the dev channel of the plugin - would be great if you can test it. I'll do an actual release after that.
from spek.
I think being unable to fix the inability to actually run spek tests for months at a time is a big reason that we are also starting to migrate everything away from Spek. As nice as it is, the inability to keep it maintained is causing major impact on our product development and this being a continual problem that isn't getting resolved in a few days or a week is terrible.
There should be some way to know and/or validate this stuff before major releases as the IntelliJ release schedule is pretty well known in advance with public access to the upcoming releases as well. But even failing that, it shouldn't be taking several months before being able to work again every few releases.
from spek.
Just merged #991, 2021.3 plugin is available in the dev channel for now: https://plugins.jetbrains.com/plugin/10915-spek-framework/versions/dev/157940. Appreciate it if you can test it out, I'll trigger a full release after that.
I just tested it and didn't find any issues with any of the tests for the main project we have.
from spek.
Thanks @raniejade.
Just tested I do unfortunately get this error using the dev channel plugin:
Exception in thread "main" java.lang.NoClassDefFoundError: kotlin/jvm/internal/Intrinsics
at org.spekframework.ide.ConsoleKt.main(console.kt)
Caused by: java.lang.ClassNotFoundException: kotlin.jvm.internal.Intrinsics
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
... 1 more
Using JDK 17 and Kotlin 1.6.10
openjdk version "17.0.1" 2021-10-19
OpenJDK Runtime Environment (build 17.0.1+12)
OpenJDK 64-Bit Server VM (build 17.0.1+12, mixed mode)
Kotlin version 1.6.10-release-923 (JRE 17.0.1+12)
from spek.
@jurriaan That usually happens when you have multiple kotlin versions in your classpath. Can you look at your dependencies?
from spek.
All kotlin dependencies of this project are currently on 1.6.10 (except for https://mvnrepository.com/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-bom, but that's probably unrelated, 1.6.0 is the latest version).
from spek.
Can you try listing down the dependencies via gradle? (https://docs.gradle.org/current/userguide/viewing_debugging_dependencies.html) - there is most likely a conflict with the kotlin versions.
from spek.
@raniejade That's indeed how I checked it:
$ ./gradlew dependencies|grep kotlin|grep -v 1.6.10| grep -v coroutines
| | | | +--- com.fasterxml.jackson.module:jackson-module-kotlin:2.13.1 (c)
+--- com.fasterxml.jackson.module:jackson-module-kotlin:2.13.1
+--- com.fasterxml.jackson.module:jackson-module-kotlin:2.13.1 (n)
| | | | +--- com.fasterxml.jackson.module:jackson-module-kotlin:2.13.1 (c)
+--- com.fasterxml.jackson.module:jackson-module-kotlin:2.13.1
kotlinCompilerClasspath
kotlinCompilerPluginClasspath
kotlinCompilerPluginClasspathMain - Kotlin compiler plugins for compilation 'main' (target (jvm))
kotlinCompilerPluginClasspathTest - Kotlin compiler plugins for compilation 'test' (target (jvm))
kotlinKlibCommonizerClasspath
kotlinNativeCompilerPluginClasspath
kotlinScriptDef - Script filename extensions discovery classpath configuration
kotlinScriptDefExtensions
| | | | +--- com.fasterxml.jackson.module:jackson-module-kotlin:2.13.1 (c)
+--- com.fasterxml.jackson.module:jackson-module-kotlin:2.13.1
| | | | +--- com.fasterxml.jackson.module:jackson-module-kotlin:2.13.1 (c)
+--- com.fasterxml.jackson.module:jackson-module-kotlin:2.13.1
| | | | +--- com.fasterxml.jackson.module:jackson-module-kotlin:2.13.1 (c)
+--- com.fasterxml.jackson.module:jackson-module-kotlin:2.13.1
| | | | +--- com.fasterxml.jackson.module:jackson-module-kotlin:2.13.1 (c)
+--- com.fasterxml.jackson.module:jackson-module-kotlin:2.13.1
| | | | +--- com.fasterxml.jackson.module:jackson-module-kotlin:2.13.1 (c)
+--- com.fasterxml.jackson.module:jackson-module-kotlin:2.13.1
All kotlin related dependencies:
$ ./gradlew dependencies|grep kotlin +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.10 +--- org.jetbrains.kotlin:kotlin-reflect:1.6.10 | \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*) | | | | +--- com.fasterxml.jackson.module:jackson-module-kotlin:2.13.1 (c) +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.0 | +--- org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:1.6.0 (c) | +--- org.jetbrains.kotlinx:kotlinx-coroutines-reactor:1.6.0 (c) | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0 (c) | +--- org.jetbrains.kotlinx:kotlinx-coroutines-reactive:1.6.0 (c) | \--- org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.6.0 (c) +--- org.jetbrains.kotlinx:kotlinx-coroutines-jdk8 -> 1.6.0 | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0 | | \--- org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.6.0 | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.0 (*) | | +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0 -> 1.6.10 | | | +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*) | | | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.10 | | | \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*) | | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.0 -> 1.6.10 | +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.0 (*) | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0 -> 1.6.10 (*) +--- org.jetbrains.kotlinx:kotlinx-coroutines-reactor -> 1.6.0 | +--- org.jetbrains.kotlinx:kotlinx-coroutines-reactive:1.6.0 | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0 (*) | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.0 (*) | | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0 -> 1.6.10 (*) | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0 (*) | +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.0 (*) | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0 -> 1.6.10 (*) +--- com.fasterxml.jackson.module:jackson-module-kotlin:2.13.1 | +--- org.jetbrains.kotlin:kotlin-reflect:1.5.30 -> 1.6.10 (*) +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0 -> 1.6.10 (*) \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.0 -> 1.6.10 +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (n) +--- org.jetbrains.kotlin:kotlin-reflect:1.6.10 (n) +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.0 (n) +--- org.jetbrains.kotlinx:kotlinx-coroutines-jdk8 (n) +--- org.jetbrains.kotlinx:kotlinx-coroutines-reactor (n) +--- com.fasterxml.jackson.module:jackson-module-kotlin:2.13.1 (n) +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.10 +--- org.jetbrains.kotlin:kotlin-reflect:1.6.10 | \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*) | | | | +--- com.fasterxml.jackson.module:jackson-module-kotlin:2.13.1 (c) +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.0 | +--- org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:1.6.0 (c) | +--- org.jetbrains.kotlinx:kotlinx-coroutines-reactor:1.6.0 (c) | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0 (c) | \--- org.jetbrains.kotlinx:kotlinx-coroutines-reactive:1.6.0 (c) +--- org.jetbrains.kotlinx:kotlinx-coroutines-jdk8 -> 1.6.0 | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0 | | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.0 -> 1.6.10 | +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.0 (*) | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0 -> 1.6.10 | +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*) | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.10 | \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*) +--- org.jetbrains.kotlinx:kotlinx-coroutines-reactor -> 1.6.0 | +--- org.jetbrains.kotlinx:kotlinx-coroutines-reactive:1.6.0 | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0 (*) | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.0 (*) | | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0 -> 1.6.10 (*) | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0 (*) | +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.0 (*) | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0 -> 1.6.10 (*) +--- com.fasterxml.jackson.module:jackson-module-kotlin:2.13.1 | +--- org.jetbrains.kotlin:kotlin-reflect:1.5.30 -> 1.6.10 (*) \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.0 -> 1.6.10 kotlinCompilerClasspath \--- org.jetbrains.kotlin:kotlin-compiler-embeddable:1.6.10 +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.10 +--- org.jetbrains.kotlin:kotlin-script-runtime:1.6.10 +--- org.jetbrains.kotlin:kotlin-reflect:1.6.10 | \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*) +--- org.jetbrains.kotlin:kotlin-daemon-embeddable:1.6.10 kotlinCompilerPluginClasspath kotlinCompilerPluginClasspathMain - Kotlin compiler plugins for compilation 'main' (target (jvm)) +--- org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable:1.6.10 | +--- org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable:1.6.10 | | +--- org.jetbrains.kotlin:kotlin-scripting-common:1.6.10 | | | \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 | | | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.10 | | +--- org.jetbrains.kotlin:kotlin-scripting-jvm:1.6.10 | | | +--- org.jetbrains.kotlin:kotlin-script-runtime:1.6.10 | | | +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*) | | | \--- org.jetbrains.kotlin:kotlin-scripting-common:1.6.10 (*) | | \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*) | \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*) +--- org.jetbrains.kotlin:kotlin-allopen:1.6.10 | +--- org.jetbrains.kotlin:kotlin-gradle-plugin-api:1.6.10 | | +--- org.jetbrains.kotlin:kotlin-native-utils:1.6.10 | | | \--- org.jetbrains.kotlin:kotlin-util-io:1.6.10 | | \--- org.jetbrains.kotlin:kotlin-project-model:1.6.10 | \--- org.jetbrains.kotlin:kotlin-gradle-plugin-model:1.6.10 \--- org.jetbrains.kotlin:kotlin-noarg:1.6.10 +--- org.jetbrains.kotlin:kotlin-gradle-plugin-api:1.6.10 (*) \--- org.jetbrains.kotlin:kotlin-gradle-plugin-model:1.6.10 kotlinCompilerPluginClasspathTest - Kotlin compiler plugins for compilation 'test' (target (jvm)) +--- org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable:1.6.10 | +--- org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable:1.6.10 | | +--- org.jetbrains.kotlin:kotlin-scripting-common:1.6.10 | | | \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 | | | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.10 | | +--- org.jetbrains.kotlin:kotlin-scripting-jvm:1.6.10 | | | +--- org.jetbrains.kotlin:kotlin-script-runtime:1.6.10 | | | +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*) | | | \--- org.jetbrains.kotlin:kotlin-scripting-common:1.6.10 (*) | | \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*) | \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*) +--- org.jetbrains.kotlin:kotlin-allopen:1.6.10 | +--- org.jetbrains.kotlin:kotlin-gradle-plugin-api:1.6.10 | | +--- org.jetbrains.kotlin:kotlin-native-utils:1.6.10 | | | \--- org.jetbrains.kotlin:kotlin-util-io:1.6.10 | | \--- org.jetbrains.kotlin:kotlin-project-model:1.6.10 | \--- org.jetbrains.kotlin:kotlin-gradle-plugin-model:1.6.10 \--- org.jetbrains.kotlin:kotlin-noarg:1.6.10 +--- org.jetbrains.kotlin:kotlin-gradle-plugin-api:1.6.10 (*) \--- org.jetbrains.kotlin:kotlin-gradle-plugin-model:1.6.10 kotlinKlibCommonizerClasspath \--- org.jetbrains.kotlin:kotlin-klib-commonizer-embeddable:1.6.10 +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.10 \--- org.jetbrains.kotlin:kotlin-compiler-embeddable:1.6.10 +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*) +--- org.jetbrains.kotlin:kotlin-script-runtime:1.6.10 +--- org.jetbrains.kotlin:kotlin-reflect:1.6.10 | \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*) +--- org.jetbrains.kotlin:kotlin-daemon-embeddable:1.6.10 kotlinNativeCompilerPluginClasspath kotlinScriptDef - Script filename extensions discovery classpath configuration kotlinScriptDefExtensions +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.10 +--- org.jetbrains.kotlin:kotlin-reflect:1.6.10 | \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*) | | | | +--- com.fasterxml.jackson.module:jackson-module-kotlin:2.13.1 (c) +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.0 | +--- org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:1.6.0 (c) | +--- org.jetbrains.kotlinx:kotlinx-coroutines-reactor:1.6.0 (c) | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0 (c) | +--- org.jetbrains.kotlinx:kotlinx-coroutines-reactive:1.6.0 (c) | \--- org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.6.0 (c) +--- org.jetbrains.kotlinx:kotlinx-coroutines-jdk8 -> 1.6.0 | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0 | | \--- org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.6.0 | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.0 (*) | | +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0 -> 1.6.10 | | | +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*) | | | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.10 | | | \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*) | | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.0 -> 1.6.10 | +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.0 (*) | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0 -> 1.6.10 (*) +--- org.jetbrains.kotlinx:kotlinx-coroutines-reactor -> 1.6.0 | +--- org.jetbrains.kotlinx:kotlinx-coroutines-reactive:1.6.0 | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0 (*) | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.0 (*) | | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0 -> 1.6.10 (*) | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0 (*) | +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.0 (*) | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0 -> 1.6.10 (*) | | +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.31 -> 1.6.10 (*) | | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.5.31 -> 1.6.10 | | +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.31 -> 1.6.10 (*) | | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.5.31 -> 1.6.10 | +--- org.jetbrains.kotlin:kotlin-stdlib-common:1.5.31 -> 1.6.10 | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.31 -> 1.6.10 (*) +--- com.fasterxml.jackson.module:jackson-module-kotlin:2.13.1 | +--- org.jetbrains.kotlin:kotlin-reflect:1.5.30 -> 1.6.10 (*) | +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0 -> 1.6.10 (*) | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.0 -> 1.6.10 +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.10 +--- org.jetbrains.kotlin:kotlin-reflect:1.6.10 | \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*) | | | | +--- com.fasterxml.jackson.module:jackson-module-kotlin:2.13.1 (c) +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.0 | +--- org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:1.6.0 (c) | +--- org.jetbrains.kotlinx:kotlinx-coroutines-reactor:1.6.0 (c) | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0 (c) | +--- org.jetbrains.kotlinx:kotlinx-coroutines-reactive:1.6.0 (c) | \--- org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.6.0 (c) +--- org.jetbrains.kotlinx:kotlinx-coroutines-jdk8 -> 1.6.0 | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0 | | \--- org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.6.0 | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.0 (*) | | +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0 -> 1.6.10 | | | +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*) | | | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.10 | | | \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*) | | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.0 -> 1.6.10 | +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.0 (*) | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0 -> 1.6.10 (*) +--- org.jetbrains.kotlinx:kotlinx-coroutines-reactor -> 1.6.0 | +--- org.jetbrains.kotlinx:kotlinx-coroutines-reactive:1.6.0 | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0 (*) | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.0 (*) | | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0 -> 1.6.10 (*) | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0 (*) | +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.0 (*) | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0 -> 1.6.10 (*) | | +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.31 -> 1.6.10 (*) | | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.5.31 -> 1.6.10 | | +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.31 -> 1.6.10 (*) | | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.5.31 -> 1.6.10 | +--- org.jetbrains.kotlin:kotlin-stdlib-common:1.5.31 -> 1.6.10 | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.31 -> 1.6.10 (*) +--- com.fasterxml.jackson.module:jackson-module-kotlin:2.13.1 | +--- org.jetbrains.kotlin:kotlin-reflect:1.5.30 -> 1.6.10 (*) | +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0 -> 1.6.10 (*) | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.0 -> 1.6.10 +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.10 +--- org.jetbrains.kotlin:kotlin-reflect:1.6.10 | \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*) | | | | +--- com.fasterxml.jackson.module:jackson-module-kotlin:2.13.1 (c) +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.0 | +--- org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:1.6.0 (c) | +--- org.jetbrains.kotlinx:kotlinx-coroutines-reactor:1.6.0 (c) | +--- org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.0 (c) | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0 (c) | +--- org.jetbrains.kotlinx:kotlinx-coroutines-reactive:1.6.0 (c) | +--- org.jetbrains.kotlinx:kotlinx-coroutines-test-jvm:1.6.0 (c) | \--- org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.6.0 (c) +--- org.jetbrains.kotlinx:kotlinx-coroutines-jdk8 -> 1.6.0 | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0 | | \--- org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.6.0 | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.0 (*) | | +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0 -> 1.6.10 | | | +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*) | | | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.10 | | | \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*) | | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.0 -> 1.6.10 | +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.0 (*) | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0 -> 1.6.10 (*) +--- org.jetbrains.kotlinx:kotlinx-coroutines-reactor -> 1.6.0 | +--- org.jetbrains.kotlinx:kotlinx-coroutines-reactive:1.6.0 | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0 (*) | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.0 (*) | | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0 -> 1.6.10 (*) | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0 (*) | +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.0 (*) | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0 -> 1.6.10 (*) +--- com.fasterxml.jackson.module:jackson-module-kotlin:2.13.1 | +--- org.jetbrains.kotlin:kotlin-reflect:1.5.30 -> 1.6.10 (*) | +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0 -> 1.6.10 (*) | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.0 -> 1.6.10 +--- org.jetbrains.kotlin:kotlin-test-junit5:1.6.10 | +--- org.jetbrains.kotlin:kotlin-test:1.6.10 | | \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*) +--- org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.0 | \--- org.jetbrains.kotlinx:kotlinx-coroutines-test-jvm:1.6.0 | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0 (*) | +--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.0 -> 1.6.10 | +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.0 (*) | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0 -> 1.6.10 (*) +--- org.jetbrains.kotlin:kotlin-test-junit5:1.6.10 (n) +--- org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.0 (n) +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.10 +--- org.jetbrains.kotlin:kotlin-reflect:1.6.10 | \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*) | | | | +--- com.fasterxml.jackson.module:jackson-module-kotlin:2.13.1 (c) +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.0 | +--- org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:1.6.0 (c) | +--- org.jetbrains.kotlinx:kotlinx-coroutines-reactor:1.6.0 (c) | +--- org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.0 (c) | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0 (c) | \--- org.jetbrains.kotlinx:kotlinx-coroutines-reactive:1.6.0 (c) +--- org.jetbrains.kotlinx:kotlinx-coroutines-jdk8 -> 1.6.0 | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0 | | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.0 -> 1.6.10 | +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.0 (*) | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0 -> 1.6.10 | +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*) | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.10 | \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*) +--- org.jetbrains.kotlinx:kotlinx-coroutines-reactor -> 1.6.0 | +--- org.jetbrains.kotlinx:kotlinx-coroutines-reactive:1.6.0 | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0 (*) | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.0 (*) | | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0 -> 1.6.10 (*) | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0 (*) | +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.0 (*) | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0 -> 1.6.10 (*) +--- com.fasterxml.jackson.module:jackson-module-kotlin:2.13.1 | +--- org.jetbrains.kotlin:kotlin-reflect:1.5.30 -> 1.6.10 (*) | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.0 -> 1.6.10 +--- org.jetbrains.kotlin:kotlin-test-junit5:1.6.10 | +--- org.jetbrains.kotlin:kotlin-test:1.6.10 | | +--- org.jetbrains.kotlin:kotlin-test-common:1.6.10 | | | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.10 | | \--- org.jetbrains.kotlin:kotlin-test-annotations-common:1.6.10 | | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.10 +--- org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.0 | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0 (*) | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.0 -> 1.6.10 +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.10 +--- org.jetbrains.kotlin:kotlin-reflect:1.6.10 | \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*) | | | | +--- com.fasterxml.jackson.module:jackson-module-kotlin:2.13.1 (c) +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.0 | +--- org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:1.6.0 (c) | +--- org.jetbrains.kotlinx:kotlinx-coroutines-reactor:1.6.0 (c) | +--- org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.0 (c) | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0 (c) | +--- org.jetbrains.kotlinx:kotlinx-coroutines-reactive:1.6.0 (c) | +--- org.jetbrains.kotlinx:kotlinx-coroutines-test-jvm:1.6.0 (c) | \--- org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.6.0 (c) +--- org.jetbrains.kotlinx:kotlinx-coroutines-jdk8 -> 1.6.0 | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0 | | \--- org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.6.0 | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.0 (*) | | +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0 -> 1.6.10 | | | +--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*) | | | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.10 | | | \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*) | | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.0 -> 1.6.10 | +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.0 (*) | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0 -> 1.6.10 (*) +--- org.jetbrains.kotlinx:kotlinx-coroutines-reactor -> 1.6.0 | +--- org.jetbrains.kotlinx:kotlinx-coroutines-reactive:1.6.0 | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0 (*) | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.0 (*) | | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0 -> 1.6.10 (*) | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0 (*) | +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.0 (*) | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0 -> 1.6.10 (*) | | +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.31 -> 1.6.10 (*) | | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.5.31 -> 1.6.10 | | +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.31 -> 1.6.10 (*) | | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.5.31 -> 1.6.10 | +--- org.jetbrains.kotlin:kotlin-stdlib-common:1.5.31 -> 1.6.10 | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.31 -> 1.6.10 (*) +--- com.fasterxml.jackson.module:jackson-module-kotlin:2.13.1 | +--- org.jetbrains.kotlin:kotlin-reflect:1.5.30 -> 1.6.10 (*) | +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0 -> 1.6.10 (*) | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.0 -> 1.6.10 | +--- org.jetbrains.kotlin:kotlin-stdlib:1.3.72 -> 1.6.10 (*) | | +--- org.jetbrains.kotlin:kotlin-stdlib:1.3.72 -> 1.6.10 (*) | | +--- org.jetbrains.kotlin:kotlin-reflect:1.3.72 -> 1.6.10 (*) | | | \--- org.jetbrains.kotlin:kotlin-stdlib:1.3.72 -> 1.6.10 (*) | | | +--- org.jetbrains.kotlin:kotlin-stdlib:1.3.72 -> 1.6.10 (*) | +--- org.jetbrains.kotlin:kotlin-reflect:1.3.72 -> 1.6.10 (*) | | +--- org.jetbrains.kotlin:kotlin-stdlib:1.3.72 -> 1.6.10 (*) | | \--- org.jetbrains.kotlin:kotlin-stdlib:1.3.72 -> 1.6.10 (*) | +--- org.jetbrains.kotlin:kotlin-stdlib:1.3.72 -> 1.6.10 (*) | +--- org.jetbrains.kotlin:kotlin-reflect:1.3.72 -> 1.6.10 (*) +--- org.jetbrains.kotlin:kotlin-test-junit5:1.6.10 | +--- org.jetbrains.kotlin:kotlin-test:1.6.10 | | \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 (*) +--- org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.0 | \--- org.jetbrains.kotlinx:kotlinx-coroutines-test-jvm:1.6.0 | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0 (*) | +--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.0 -> 1.6.10 | +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.0 (*) | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0 -> 1.6.10 (*) | +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.32 -> 1.6.10 (*) | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.4.32 -> 1.6.10 | +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.32 -> 1.6.10 (*) | +--- org.jetbrains.kotlin:kotlin-reflect:1.4.32 -> 1.6.10 (*) | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.3 -> 1.6.0 (*) | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.4.32 -> 1.6.10 | +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.32 -> 1.6.10 (*) +--- org.jetbrains.kotlin:kotlin-reflect:1.6.10 (n) +--- org.jetbrains.kotlin:kotlin-reflect:1.6.10 | \--- org.jetbrains.kotlin:kotlin-stdlib:1.6.10 | \--- org.jetbrains.kotlin:kotlin-stdlib-common:1.6.10
from spek.
Thanks @jurriaan! Are you able to share your project so I can attempt to replicate it?
from spek.
@raniejade any chance you're ready to trigger a full release now?
from spek.
It should be out by now, again apologies for the delay.
from spek.
Thank you @raniejade! The new 2.0.18 version of the plugin is working for us in IntellijJ 2021.3.2.
We appreciate you maintaining this for us!
Do you have any opinion on @FWDekker's suggestion:
I think it might be worthwhile to stop restricting the until version supported by the plugin, so that the plugin is considered compatible with all future versions by default.
Would you consider this approach? Or is it a better practice to keep this manual process for supporting new versions of IntelliJ after they come out?
from spek.
We have tried unbounding the until version of the IJ specific built of the plugin way back and it caused issues with Android Studio (it was trying to use the plugin built for IJ - note that we have two different builds for IJ and AS because of this: https://github.com/spekframework/spek/blob/2.x/spek-ide-plugin-android-studio/src/main/kotlin/org/spekframework/intellij/SpekAndroidConfigurationType.kt#L7 - AS devs loves to hardcode stuff and make things harder to extend, filed a ticket about it but it was totally ignored). The real problem here is how the IJ platform itself handle versioning, you can't just tag a plugin that will only work for specific products (i.e AS, pycharm, etc ...) - you have to be careful on how to version your plugin if you are going to support multiple products (IJ, AS, etc ...)
So the versioning scheme that we ended up with is similar to Jetbrain's own Kotlin plugin.
from spek.
FWIW, the same problem now exists for IDEA 2022.1.
Plugin 'Spek Framework' (version '2.0.18-IJ2021.3') is not compatible with the current version of the IDE, because it requires build 213.* or older but the current build is IU-221.5080.210
from spek.
@raniejade I see, I was unaware of those API issues in AS. While I have no experience with this, I imagine it might be possible to create two versions of the plugin, one that is unbounded in version and supports all IDEs except AS, and a bounded version specifically for AS. I think this should be possible by making the former use <incompatible-with>com.intellij.modules.androidstudio</incompatible-with>
and the latter <depends>com.intellij.modules.androidstudio</depends>
. At this point the real issue becomes how you declare these so that you build two separate plugins, other than doing this manually for each release :-/
from spek.
Hey folks.
Just wondering if there's any ETA with a 2022.1 compatible release?
from spek.
Hey @martypitt, not anytime soon sorry - I'm currently moving. I can start taking a look maybe two weeks from now.
from spek.
No worries. Thanks for the update.
from spek.
@raniejade Thanks! It works great with 2022.1 :)
from spek.
Related Issues (20)
- use IR for JS
- Spek plugin 2.0.19 crashes on AS Flamingo and Java 1.8 HOT 1
- The plugin is not compatible with the current version
- Before and After scenario not in proper order HOT 1
- Kotlin 1.5.0 - TestSuiteExecutionException testing function with "when" and enum HOT 8
- MockK crashes when running Spek tests from Android Studio HOT 4
- Port #965 to 2.x branch
- Test fails in Spek Android Studio plugin but works in Gradle due to different classpath HOT 3
- JCenter migration issue, spek-runtime is missing HOT 1
- Spek Framework Plugin incompatible with IntelliJ IDEA 2021.2 HOT 2
- add automatic-module name so that it can be used as proper module
- Could not find spek-dsl-metadata 2.0.17 HOT 6
- Run test button does nothing HOT 2
- Spek should be compatible with JUnit Platform suites HOT 1
- Feature: Support running tests in random order
- Gherkin rule dsl missing
- Multiplatform status? HOT 2
- Incompatible with 2022.2.1 HOT 13
- klib publishing fails due to missing checksum
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spek.