-
Notifications
You must be signed in to change notification settings - Fork 19
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
Conversation
build.gradle.kts
Outdated
languageVersion = "1.3" | ||
languageVersion = "1.6" | ||
jvmTarget = "1.8" | ||
freeCompilerArgs = freeCompilerArgs + listOf("-Xskip-runtime-version-check") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Afaik 1.3 is not supported in 1.6 anymore, so had to bump it. Can change to
1.5
or1.4
if there's a need for this - 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 :)
There was a problem hiding this comment.
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
There was a problem hiding this 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)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
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 :)