Skip to content

Commit

Permalink
gradle minor
Browse files Browse the repository at this point in the history
  • Loading branch information
elect86 committed Sep 8, 2020
1 parent 38f47d9 commit f9fa771
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import org.gradle.api.attributes.LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE
import org.gradle.api.attributes.java.TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE
import org.gradle.internal.os.OperatingSystem.*
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import java.net.URL

plugins {
Expand Down Expand Up @@ -74,7 +75,7 @@ tasks {
}
}

withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().all {
withType<KotlinCompile>().all {
kotlinOptions {
jvmTarget = "11"
freeCompilerArgs += listOf("-Xinline-classes", "-Xopt-in=kotlin.RequiresOptIn")
Expand Down

0 comments on commit f9fa771

Please sign in to comment.