Comments (2)
I investigated for a while. I'll write a bunch of considerations to explain what's going on and how we could treat this issue.
This problem is caused by the configuration of the dokkaJavadocCollector
task. With the introduction of multiplatform projects in the build, an additional configuration for this task is required, as it would throw an exception otherwise:
Exception in thread "Thread-1029" org.jetbrains.dokka.DokkaException: Pre-generation validity check failed: Dokka Javadoc plugin currently does not support generating documentation for multiplatform project. Please, adjust your configuration
This exception is raised even if dokkaJavadoc
and dokkaJavadocPartial
get disabled in every multiplatform subproject. dokkaJavadocCollector
task's configuration is a little embarrassing, as it is not possible to exclude certain subprojects (I mean, it is possible using the deprecated API).
To summarize, Dokka deprecated the API and did not suggest any viable alternatives to use at the moment. As the warning says, a sort of migration guide will be provided in the future.
To overcome this issue, we could keep everything as it is and wait for the migration guide to come out. This is not ideal, as it adds technical debt, but could possibly be treated easily in the future. Another way would be to manually create a "custom collector task". This might be a little overkill. Also, it would probably be hard and time wasting to configure, test etc.
If there are considerations, ideas, etc. on how to overcome this issue, I am willing to try them. If anything comes to my mind I'll update this issue.
Some useful links:
Dokka Collector Task documentation
The only related forum discussion I found in the whole web about this issue
from alchemist.
What about "disable individual project tasks using the Gradle API"? For this specific project, we only have one multiplatform module so far, should be manageable...
from alchemist.
Related Issues (20)
- Deployment shapes should actually be arbitrary filters
- Double precision should be configurable in exported data HOT 4
- refactor: ProtelisDevice should embed both AlchemistNetworkManager and AlchemistExecutionContext
- Possible bug in the priority check of a reaction HOT 8
- feat(loading): automatic conversion between YAML's kebab-case and kotlin's camelCase HOT 1
- docs(website): documentation on how to launch batch simulations is missing HOT 2
- feat(web-render): switch to the Java Desktop API to open the default browser HOT 2
- Unable to distribute simulation batches HOT 11
- docs(website): "click to show code" is broken HOT 1
- `goToTime` should work multiple times HOT 1
- Fail to build `variables` if they are not declared using `formula` HOT 2
- Unable to select custom launcher with the new CLI HOT 8
- Not possible to reproduce GPS trace code from the web site HOT 6
- CameraSee ignore nodes in its field of view HOT 1
- Problem with project migration to new API HOT 1
- The Incarnation should not support nullable nodes HOT 1
- Unresolved reference: any class inside `graphql` module HOT 7
- Invalid scm url HOT 4
- Hide class loading warnings during batch execution HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alchemist.