Kotlin / kotlin-frontend-plugin

Gradle Kotlin (http://kotlinlang.org) plugin for frontend development
Apache License 2.0
561 stars 69 forks source link

error: Source option 6 is no longer supported. Use 7 or later. #157

Open ConradKrinock opened 4 years ago

ConradKrinock commented 4 years ago

Hi It's Conrad again,

Background/Intro:

Downloaded gradle source from git clone https://github.com/gradle/gradle.git and "almost" have it running in IntelliJ.

Status:

OMG on the 1 yard line ready to score ...

Steps to Reproduce: see attachment

IntelliJ Debug Configuration.docx

Resolution

I've got everything working in IntelliJ and I believe this is the last configuration error (I've resolved at least a couple dozen). I think I need to use a different version of Java(?) So far I've tried:

Hopefully this is a "known issue" and you can provide a quick resolution.

BTW

I'm working with Rooz Mohazzabi and Gary Hall regarding gradle enterprise.

Conrad J Krinock -- 775-450-1202 Cyber Security Architect Wells Fargo Bank - Vendor Financial Services Southfield, MI, USA

ConradKrinock commented 4 years ago

Resolved !!! with JDK version 11

Step 1: Download and install JDK-11 on your PC Step 2: Configure IntelliJ for JDK-11via File --> Project Structure --> Project --> Project SDK new button; browse location of JDK-11 (C:\Program Files\Java\jdk-11...) Step 3: Open your Debug Configuration and change the JRE dropdown to version 11

Leaving this Issue open and I can provide more details next week.