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

Bump Dokka's version with general maintenance #40

Merged
merged 3 commits into from Apr 10, 2022
Merged

Bump Dokka's version with general maintenance #40

merged 3 commits into from Apr 10, 2022

Conversation

IgnatBeresnev
Copy link
Member

Wanted to check that Dokka 1.6.20 is compatible with knit and nothing is broken, so I had to update other dependencies and resolve warnings as well (due to allWarningsAsErrors).

Once Dokka 1.6.20 is released, I can either update this PR (probably sometime next week) or create a separate one, it's up to you whether to merge this now or later :)

build.gradle.kts Outdated
Comment on lines 42 to 44
languageVersion = "1.3"
languageVersion = "1.6"
jvmTarget = "1.8"
freeCompilerArgs = freeCompilerArgs + listOf("-Xskip-runtime-version-check")
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Afaik 1.3 is not supported in 1.6 anymore, so had to bump it. Can change to 1.5 or 1.4 if there's a need for this
  2. Not sure why it was initially added, but I believe -Xskip-runtime-version-check is not needed anymore since it's the same version of kotlin and dokka -- there's no error now. Can revert, but would love to know why it's needed then :)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have to stick with 1.4, otherwise Gradle 6.x won't be able to consume newer Knit (because it's bundling Kotlin 1.4). You may need -Xsuppress-version-warnings for that.

Regarding 2, sure, it's no longer needed

src/KnitUtil.kt Outdated Show resolved Hide resolved
@qwwdfsad qwwdfsad self-requested a review April 9, 2022 12:58
Copy link
Member

@qwwdfsad qwwdfsad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything else looks great, thanks for taking care!

Otherwise Gradle 6.x won't be able to consume newer Knit (because it's bundling Kotlin 1.4)
Copy link
Member

@qwwdfsad qwwdfsad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@qwwdfsad qwwdfsad merged commit bb4097f into Kotlin:main Apr 10, 2022
@IgnatBeresnev IgnatBeresnev deleted the bump-dokka-versions branch April 10, 2022 13:09
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.

None yet

2 participants