Jorge Recio
04/07/2020, 5:52 AMIntelliJ IDEA 2019.3.4 (Community Edition)
Build #IC-193.6911.18, built on March 17, 2020
Runtime version: 11.0.6+8-b520.43 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.15.4Can anyone help me?
elizarov
04/07/2020, 3:19 PMJorge Recio
04/07/2020, 9:28 PMUnresolved reference: FlowIn clases: • FlowFlattenMergeBenchmark • NumbersBenchmark • TakeBenchmark • FlowPlaysScrabbleBase • SaneFlowPlaysScrabble Even when those classes import:
kotlinx.coroutines.flow.*
I added and import of:
kotlinx.coroutines.flow.Flow
And the build worked from the IDE too.Jorge Recio
04/08/2020, 7:40 AMCollections.reverseOrder()
elizarov
04/08/2020, 11:27 AMJorge Recio
04/09/2020, 6:40 AMjorge$ $JAVA_HOME/bin/java -version
openjdk version "11.0.6" 2020-01-14
OpenJDK Runtime Environment (build 11.0.6+10)
OpenJDK 64-Bit Server VM (build 11.0.6+10, mixed mode)I installed this version of the JVM and configured all required env variables (JAVA_HOME, JDK_18, JDK_16) to point to it. In the IDE I have tested using this one as the project default SDK and in the preferences I have configured Gradle to use the project SDK.
Jorge Recio
04/09/2020, 7:09 AMelizarov
04/09/2020, 7:13 AMgradlew build --debug | tree build.log
and attached the resulting log here, please.Jorge Recio
04/09/2020, 7:14 AMJorge Recio
04/09/2020, 7:43 AM./gradlew build --debug | tree build.log
At the project root folder, but is not working.elizarov
04/09/2020, 9:29 AMelizarov
04/09/2020, 9:30 AMtree
-> tee
Jorge Recio
04/09/2020, 11:41 AMelizarov
04/09/2020, 2:31 PM[LIFECYCLE] [org.gradle.internal.buildevents.BuildResultLogger] BUILD SUCCESSFUL in 58s
elizarov
04/09/2020, 2:31 PMJorge Recio
04/09/2020, 2:53 PMelizarov
04/09/2020, 8:49 PMJorge Recio
04/09/2020, 11:57 PMIntelliJ IDEA 2019.3.4 (Community Edition)
Build #IC-193.6911.18, built on March 17, 2020
Runtime version: 11.0.6+8-b520.43 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.15.4I upgraded to the new: I am using:
IntelliJ IDEA 2019.3.4 (Community Edition)
Build #IC-193.6911.18, built on March 17, 2020
Runtime version: 11.0.6+8-b520.43 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.15.4But the problem continued.
Jorge Recio
04/10/2020, 12:14 AMsourceCompatibility = 1.8
targetCompatibility = 1.8
...
compileJmhKotlin {
kotlinOptions {
jvmTarget = "1.8"
freeCompilerArgs += ['-Xjvm-default=enable']
}
}
The IDE seems to be confused.