Comments (2)
Thank you for the reproducer.
The problem is that the Dokka Gradle Plugin wrongly(?) defines jvmAndAndroid
as a common platform here.
That means that:
import java.io.File
typealias File = File
java.io.File
is unresolved since JDK is only available for a JVM platform.
In K1, it causes a recursion (AssertionError
that fails a Dokka run).
In K2, it just leads to an unresolved type.
from dokka.
An intermediate solution: do not fail the build to at least let the users build documentation, even if the reference is lost.
Overall, to address the issue properly, we need to investigate how this case should be handled, what the expected behaviour is from Kotlin's perspective, whether such setups are even allowed.
from dokka.
Related Issues (20)
- [K2] Synthetic property misses annotations from getter/setter HOT 3
- Support rich documentation of property parameters.
- Dokka migration to KGP 2.1 leads to `Non-public primary constructor is exposed via the generated 'copy()' method of the 'data' class.`
- Make older versions dir name configurable
- [K2] Kdoc inherited from super class has references to super class methods not to overriden one HOT 2
- Html output for markdown tables has a raw toString as class attribute
- [K2] Too verbose messaging about Dokka K2 in preview HOT 1
- [K2] KMP: Missed top level extension for type from another module in Android + JVM HOT 2
- [K2] KMP: Support intersecting source roots HOT 2
- [K2] KMP: Unresolved declarations from another module in Android + JVM project HOT 1
- HTML hyperlink inside @see in Javadoc in Java files fails to render properly HOT 2
- [K2] KMP: Expect/actual enums have `expect` modifiers but don't have `actual` for builtin functions HOT 1
- Add extra logging for package-list requests
- GradleDokkaSourceSetBuilder uses deprecated org.gradle.util.ConfigureUtil
- Unresolved links are formatted as plain text
- Why is org.jetbrains.dokka.gradle.DokkaPlugin#setupDokkaTasks private?
- Improve SequentialTasksExecutionStressTest
- From where is the search capability coming from?
- When Dokka Gradle Plugin v2 mode enabled in a buildSrc convention plugin, the `dokka {}` project extension DSL isn't available HOT 1
- Kotl dokka 4.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 dokka.