Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add to build.gradle for intelij runner to run in 1.8 #5

Open
ncomet opened this issue Feb 23, 2018 · 3 comments
Open

Add to build.gradle for intelij runner to run in 1.8 #5

ncomet opened this issue Feb 23, 2018 · 3 comments

Comments

@ncomet
Copy link

ncomet commented Feb 23, 2018

You can add at the end of the build.gradle :

tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
    kotlinOptions {
        jvmTarget = "1.8"
    }
}
@ncomet
Copy link
Author

ncomet commented Feb 23, 2018

in fact Preferences > Build, Execution, Deployment > Kotlin Compiler

set to 1.8
does the trick

@jabby
Copy link
Collaborator

jabby commented Feb 23, 2018

thanks @ncomet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants