Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: expose context-propagation as api from http (#10721)
I recently worked on a [commercial support ticket](https://micronaut.io/support/) where I need to [add the `context-propagation` dependency](sdelamo/mn-log-ip@42b559a). [`micronaut-runtime` exposes `context-propagation` as api](https://github.com/micronaut-projects/micronaut-core/blob/4.5.x/runtime/build.gradle#L11). However, the application was a groovy app. Thus, it was using `micronaut-runtime-groovy`. [`micronaut-runtime-groovy` does not expose `context-propagation`](https://github.com/micronaut-projects/micronaut-groovy/blob/4.4.x/runtime-groovy/build.gradle). This PR makes the `http` module expose `context-propagation` as `api`. [`http` already exposes `context` as api](https://github.com/micronaut-projects/micronaut-core/blob/4.5.x/http/build.gradle#L9).
- Loading branch information