Robert
04/09/2019, 8:11 PMgradle build in my project in IntelliJ IDEA, it runs fine (errors, but nothing special). But when I try to run a test in that same project by click on the green run-icon next to the test-method, it gives me this error: Error:java: javacTask: source release 8 requires target release 1.8
Seems like it runs JUnit tests not in the same way as gradle build? What should I change? I annotated it with @kotlin.test.Test and have useJUnitPlatform() in my gradle.build.kts in the test-section. How should I run tests fom IDEA?