[JAVA-5036] Mark bson-kotlin(x) libraries as optional in the pom Created: 22/Jun/23 Updated: 28/Oct/23 Resolved: 23/Jun/23 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | 4.10.1 |
| Type: | Improvement | 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: |
|
||||
| Documentation Changes: | Needed | ||||
| Documentation Changes Summary: | bson-kotlinx is an explicit dependency and required for when using kotlinx-serialization: Add: implementation("org.mongodb:bson-kotlinx:4.10.0") |
||||
| Description |
|
Currently, their scope is runtime but they should also be marked as optional |
| Comments |
| Comment by Githook User [ 23/Jun/23 ] |
|
Author: {'name': 'Ross Lawley', 'email': 'ross@mongodb.com', 'username': 'rozza'}Message: Build: Make bson-kotlin and bson-kotlinx optional (#1148) Reduce the dependency tree for driver-core by making the Kotlin-coroutine and Kotlin-sync now take a hard dependency
|
| Comment by Ross Lawley [ 22/Jun/23 ] |
|
Potentially will require documentation to be updated for kotlinx serialization. |