Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Adds kiota authentication dependency into compilation classpath #1726

Merged
merged 2 commits into from
Sep 3, 2024

Conversation

Ndiritu
Copy link
Contributor

@Ndiritu Ndiritu commented Sep 2, 2024

We expose Kiota auth ObservabilityOptions in the public API of this package meaning we should add it to the compile classpath as an api dependency.

Currently, the kiota-auth module is declared as a runtime dependency meaning customers have to take a direct dependency on it.

maven projects as in the linked issue currently fail with a compilation error. gradle seems to add all dependencies to the compilation classpath.

closes microsoftgraph/msgraph-sdk-java#1942

@Ndiritu Ndiritu self-assigned this Sep 2, 2024
@Ndiritu Ndiritu requested a review from a team as a code owner September 2, 2024 09:08
Copy link

sonarcloud bot commented Sep 3, 2024

@Ndiritu Ndiritu merged commit 8ed6473 into main Sep 3, 2024
11 checks passed
@Ndiritu Ndiritu deleted the fix/dependency-configuration branch September 3, 2024 14:18
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.

Class not found error in SDK 6.6.0 : com.microsoft.kiota.authentication.ObservabilityOptions
3 participants