-
Notifications
You must be signed in to change notification settings - Fork 74
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
Update dependency gradle to v8 #823
Conversation
9f6059b
to
383963a
Compare
383963a
to
69a2d0a
Compare
e171ab7
to
9add354
Compare
3333f90
to
86c385b
Compare
86c385b
to
3333f90
Compare
The |
cklib in Zipline? We also use cklib, but I don't see how it could have anything to do with tasks from another project. Or are you saying it's tasks in this project which result from the usage of Zipline and those are the problematic ones? |
This is the error:
It seems to take issue with the cinterop klibs that are pulled in from the zipline dependency. |
I can pare down a reproducer when I'm off parental leave. Not sure we have much choice here as we can't stay on an old version forever. I guess we'll wait as long as we can. |
I think this'll be unblocked by #889 as we remove the dependency on cklib. |
3333f90
to
5d33f4d
Compare
Still broken with Dokka task dependencies. Maybe time to try Dokkatoo instead? |
Yeah it does seem like Dokkatoo is a good idea. The Dokka Gradle plugin has been a consistent issue. IIRC the Gradle plugin is also planning to use Dokka through Dokkatoo. |
@chrisbanes Want to migrate us over to Dokkatoo in a separate PR? Hopefully that'll unblock this one. |
5d33f4d
to
1912e50
Compare
Spent a hour or 2 this afternoon digging into this more. If I turn off Dokkatoo is a bit of a dead-end right now as it doesn't seem to be finding all of the source sets (see adamko-dev/dokkatoo#57). My guess is that the issue which is blocking us from upgrading Gradle (some hardcoded task inputs?), is exactly the thing which enables Dokka to properly document KMP projects. I'll create an issue on the Dokka tracker and see what they say. |
I'm inclined to believe this is caused by improper configuration in the Kotlin Gradle Plugin. The This is not an easy problem to fix (or at least, not an easy problem to figure out how to fix - KGP is complicated!). The task is breaking project-isolation and not sharing files using Configurations. So, as a workaround, the task can be manually disabled // build.gradle.kts
tasks.matching {
"CInteropMetadataDependencyTransformationTask" in (it::class.qualifiedName ?: "")
}.configureEach {
enabled = false
} Perhaps there's a clever way of disabling the task when the documentation is being generated? // build.gradle.kts
tasks.matching {
"CInteropMetadataDependencyTransformationTask" in (it::class.qualifiedName ?: "")
}.configureEach {
// disable the IDE task when generating documentation
enabled = gradle.taskGraph.allTasks.none {
it is org.jetbrains.dokka.gradle.AbstractDokkaTask
}
} |
1912e50
to
48a46af
Compare
Thanks for the pointers @aSemy! I totally forgot about I think this should go green. Dokka builds fine locally for me with this. |
Sweet! Thanks for all the help too, @aSemy. |
Happy to help! |
This PR contains the following updates:
7.6.1
->8.1.1
Release Notes
gradle/gradle
v8.1.1
: 8.1.1This is a patch release for Gradle 8.1. We recommend using 8.1.1 instead of 8.1.
It fixes the following issues:
Read the Release Notes
Upgrade Instructions
Switch your build to use Gradle 8.1.1 by updating your wrapper:
See the Gradle 8.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 8.1.1.
Reporting Problems
If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the forum.
v8.0.2
: 8.0.2The Gradle team is excited to announce Gradle 8.0.2.
This is the second patch release for Gradle 8.0. We recommend using 8.0.2 instead of 8.0.
It fixes the following issues:
JavaCompile
Issues fixed in the first patch release:
target
flag--no-rebuild
suddenly gone without new deprecation cycle and without the reason for its undeprecation being voidRead the Release Notes
Upgrade Instructions
Switch your build to use Gradle 8.0.2 by updating your wrapper:
See the Gradle 7.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 8.0.2.
Reporting Problems
If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the forum.
v8.0.1
: 8.0.1This is a patch release for 8.0. We recommend using 8.0.1 instead of 8.0.
It fixes the following issues:
target
flag--no-rebuild
suddenly gone without new deprecation cycle and without the reason for its undeprecation being voidRead the Release Notes
Upgrade Instructions
Switch your build to use Gradle 8.0.1 by updating your wrapper:
See the Gradle 7.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 8.0.1.
Reporting Problems
If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the forum.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.