I wanted to get started but I’m having trouble combining kotlin with gradle and Junit.
For all of these repositories, ‘gradle build’ gives an error:
- GitHub - spekframework/spek: A specification framework for Kotlin → Could not initialize plugin: interface org.mockito.plugins.MockMaker
- GitHub - MehdiK/Humanizer.jvm → java.lang.NoClassDefFoundError: Could not initialize class com.intellij.util.text.StringFactory
- GitHub - mplatvoet/progress: Progress for Kotlin → java.lang.NoClassDefFoundError: sun/reflect/ConstructorAccessor
- GitHub - wasabifx/wasabi: An HTTP Framework → java.lang.IncompatibleClassChangeError: Inconsistent constant pool data in classfile
Given that all these are failing, I’m guessing something is wrong with my installation.
I am using:
- “kotlin -version” → “Kotlin version 1.2.21-release-88 (JRE 9.0.4+11)”
- “gradle --version” → “Gradle 4.5… 9.0.4”
- “java -version” → “openjdk version “9-internal””
- “javac -version” → “javac 9-internal”
- ubuntu 16.04
Could someone try to run one of these repos, and if it works, what their setup is.