-
Notifications
You must be signed in to change notification settings - Fork 425
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
Remove usage of internal gradle classes in task dependencies #2835
Conversation
Also, I noticed that
|
We have one more reference for internal package: |
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.
Overall LGTM 👍
runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/AbstractDokkaParentTask.kt
Show resolved
Hide resolved
runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/AbstractDokkaParentTask.kt
Outdated
Show resolved
Hide resolved
runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/AbstractDokkaParentTask.kt
Outdated
Show resolved
Hide resolved
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.
Can you rebase onto master?
Co-authored-by: Ignat Beresnev <ignat.beresnev@jetbrains.com>
ee95d16
to
19da67e
Compare
In the current approach, there is an issue for the scenario when there is a task that depends on
In such configuration, Gradle throws an exception for calls like this
So, the idea to put in |
Well, at least now we know! @atyrin thanks for the research Proposing to do the following:
|
I've created a separate PR for further updates regarding deprecations only: #2857 |
Intermediate fix #2822
Switch in using storage of child tasks from an internal set of paths to Gradle set
dependsOn
.Changes:
addChildTask(path: String)
AbstractDokkaTask
. That part is changed compared with 1.7.20 (previously reported only on executing of:dokkaHtmlMultiModule
).