[JAVA-5022] Kotlin coroutines should be declared as an API dependency Created: 13/Jun/23  Updated: 28/Oct/23  Resolved: 13/Jun/23

Status: Closed
Project: Java Driver
Component/s: Kotlin
Affects Version/s: None
Fix Version/s: 4.10.0

Type: Bug Priority: Unknown
Reporter: Ross Lawley Assignee: Ross Lawley
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to JAVA-2684 Improve the driver's support for Kotl... Closed
Documentation Changes: Not Needed
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

Currently it is an implementation (runtime) dependency.

The api configuration should be used to declare dependencies which are exported by the library API, whereas the implementation configuration should be used to declare dependencies which are internal to the component.

https://docs.gradle.org/current/userguide/java_library_plugin.html#sec:java_library_separation



 Comments   
Comment by Githook User [ 13/Jun/23 ]

Author:

{'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}

Message: Kotlin coroutines should be declared as an API dependency

As the API exports Flow types via delegation

JAVA-5022
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/05f2ffd104b1ae1d8ac79a37f8642306a0fd2fd0

Generated at Thu Feb 08 09:03:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.