commit | ab83ffc894c00f0a8feade2f54cb444c22e16461 | [log] [tgz] |
---|---|---|
author | Jiayu Liu <Jimexist@users.noreply.github.com> | Tue May 10 01:56:30 2022 +0800 |
committer | GitHub <noreply@github.com> | Mon May 09 13:56:30 2022 -0400 |
tree | 715e73c16b47dbab617ec1056dc9fb7c7809d17f | |
parent | 5fdfd0cae0abaa89a26fa0015d31b6d369b32777 [diff] [blame] |
THRIFT-5564: setup cross test in GitHub action (#2602) * include java and kotlin into precross
diff --git a/lib/kotlin/build.gradle.kts b/lib/kotlin/build.gradle.kts index 842c1b9..1f7711a 100644 --- a/lib/kotlin/build.gradle.kts +++ b/lib/kotlin/build.gradle.kts
@@ -34,6 +34,12 @@ testImplementation(kotlin("test")) } +kotlin { + jvmToolchain { + (this as JavaToolchainSpec).languageVersion.set(JavaLanguageVersion.of(8)) + } +} + tasks { ktfmt { kotlinLangStyle()