Skip to content

Add Gradle toolchain setup.#1294

Merged
shashachu merged 3 commits intopinterest:masterfrom
Tapchicoma:tapchicoma/jvm-toolchain
Dec 1, 2021
Merged

Add Gradle toolchain setup.#1294
shashachu merged 3 commits intopinterest:masterfrom
Tapchicoma:tapchicoma/jvm-toolchain

Conversation

@Tapchicoma
Copy link
Copy Markdown
Collaborator

@Tapchicoma Tapchicoma commented Nov 30, 2021

Description

  • Unify Kotlin setup via compiler plugin and use jvm toolchain with configured language version 8.
  • Add tasks to run additionally tests on JDK 11 - "testOnJdk11"
  • Change CI setup to not use java versions matrix - JDK 11 will be auto-provisioned by Gradle itself
  • Update Dokka to 1.6.0 version (previous version caused issues on CI run)

Checklist

  • tests are added
  • CHANGELOG.md is updated

Configure project to use JDK 1.8 toolchain to compile itself and run the tests.
This task utilizes toolchain feature. CI was updated to run only on agents with JDK 1.8 preinstalled. JDK 11 will be installed by Gradle.
@Tapchicoma Tapchicoma requested a review from shashachu November 30, 2021 12:07
Comment thread buildSrc/build.gradle.kts
Comment thread buildSrc/src/main/kotlin/ktlint-kotlin-common.gradle.kts
@shashachu shashachu merged commit 1e7cf75 into pinterest:master Dec 1, 2021
@Goooler Goooler mentioned this pull request Jan 29, 2023
6 tasks
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

Successfully merging this pull request may close these issues.

4 participants