You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the context of #2232, I'm interested in running the ./gradlew dokkaHtml that was introduced in #1466 as part of a (future, TBD) GitHub action which generates documentation, but I have noticed that this currently fails, like this:
./gradlew dokkaHtml
Directory '/usr/lib/jvm/java-11' (Maven Toolchains) used for java installations does not exist
Invalid Java installation found at '/usr/lib/jvm/openjdk-17' (Common Linux Locations). It will be re-checked in the next build. This might have performance impact if it keeps failing. Run the 'javaToolchains' task for more details.
> Task :datacapture:dokkaHtml
Initializing plugins
Dokka is performing: documentation for data-capture
Validity check
Creating documentation models
Transforming documentation model before merging
Merging documentation models
Transforming documentation model after merging
Creating pages
Transforming pages
Rendering
Running post-actions
> Task :knowledge:dokkaHtml
Initializing plugins
Dokka is performing: documentation for knowledge
Validity check
Creating documentation models
Transforming documentation model before merging
Merging documentation models
Transforming documentation model after merging
Creating pages
Transforming pages
Rendering
Running post-actions
> Task :knowledge:kaptReleaseKotlin FAILED
FAILURE: Build failed with an exception.
* What went wrong:
A problem was found with the configuration of task ':knowledge:kaptReleaseKotlin' (type 'KaptWithoutKotlincTask').
- Gradle detected a problem with the following location: '/home/vorburger/git/github.com/google/android-fhir/knowledge/build/tmp/kapt3/classes/release'.
Reason: Task ':knowledge:dokkaHtml' uses this output of task ':knowledge:kaptReleaseKotlin' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
Possible solutions:
1. Declare task ':knowledge:kaptReleaseKotlin' as an input of ':knowledge:dokkaHtml'.
2. Declare an explicit dependency on ':knowledge:kaptReleaseKotlin' from ':knowledge:dokkaHtml' using Task#dependsOn.
3. Declare an explicit dependency on ':knowledge:kaptReleaseKotlin' from ':knowledge:dokkaHtml' using Task#mustRunAfter.
Please refer to https://docs.gradle.org/8.0/userguide/validation_problems.html#implicit_dependency for more details about this problem.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 55s
54 actionable tasks: 20 executed, 17 from cache, 17 up-to-date
@williamito is (only) this something you would be willing to contribute a PR to fix?
In the context of #2232, I'm interested in running the
./gradlew dokkaHtml
that was introduced in #1466 as part of a (future, TBD) GitHub action which generates documentation, but I have noticed that this currently fails, like this:@williamito is (only) this something you would be willing to contribute a PR to fix?
@jingtang10 @omarismail94 is there anyone else on the project willing to fix this?
The text was updated successfully, but these errors were encountered: