Skip to content

Commit

Permalink
Merge pull request #325 from usefulness/fix_kotlin_1_5_compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszkwiecinski authored Jun 23, 2022
2 parents 6d3b487 + e98b1bd commit 3c5b0b4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions easylauncher/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import org.jetbrains.kotlin.gradle.dsl.KotlinCompile

plugins {
id "java-gradle-plugin"
id 'com.starter.library.kotlin'
Expand Down Expand Up @@ -41,6 +43,13 @@ tasks.withType(PluginUnderTestMetadata).configureEach {
pluginClasspath.from(configurations.testRuntimeDependencies)
}


tasks.withType(KotlinCompile).configureEach {
kotlinOptions {
apiVersion = "1.5"
languageVersion = "1.5"
}
}
tasks.withType(JavaCompile).configureEach {
options.release.set(JavaVersion.VERSION_1_8.majorVersion.toInteger())
}
Expand Down

0 comments on commit 3c5b0b4

Please sign in to comment.