Skip to content

Conversation

colinrtwhite
Copy link
Member

@colinrtwhite colinrtwhite commented Oct 15, 2024

No description provided.

@colinrtwhite colinrtwhite changed the title Update to Dokka 2.0.0-Beta. Update to Dokka 2.0.0. Nov 9, 2024
# Conflicts:
#	build.gradle.kts
#	gradle/libs.versions.toml

# Conflicts:
#	gradle/libs.versions.toml

# Conflicts:
#	gradle/libs.versions.toml
@@ -2,7 +2,7 @@

Coil's API is designed to be Kotlin-first. It leverages Kotlin language features such as inlined lambdas, receiver params, default arguments, and extension functions, which are not available in Java.

Importantly, suspend functions cannot be implemented in Java. This means custom [Transformations](transformations.md), [Size Resolvers](/coil/api/coil-core/coil3.size/-size-resolver), [Fetchers](image_pipeline.md#fetchers), and [Decoders](image_pipeline.md#decoders) **must** be implemented in Kotlin.
Importantly, suspend functions cannot be implemented in Java. This means custom [Transformations](/coil/api/coil-core/coil3.transform/-transformation), [Size Resolvers](/coil/api/coil-core/coil3.size/-size-resolver), [Fetchers](image_pipeline.md#fetchers), and [Decoders](image_pipeline.md#decoders) **must** be implemented in Kotlin.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Broken link

@colinrtwhite colinrtwhite requested a review from chris-horner July 1, 2025 18:27
alias(libs.plugins.spotless)
id("org.jetbrains.dokka")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we move dokka back into the [plugins] section of libs.versions.toml so this can be tidier?

Suggested change
id("org.jetbrains.dokka")
alias(libs.plugins.dokka)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately we can't due to a gradle issue. Added a link to it!

@colinrtwhite colinrtwhite enabled auto-merge (squash) July 2, 2025 01:13
@colinrtwhite colinrtwhite merged commit 4eda845 into main Jul 2, 2025
10 checks passed
@colinrtwhite colinrtwhite deleted the colin/dokka_2 branch July 2, 2025 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants