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

Unnecessarily verbose deprecation message #3959

Open
piefel opened this issue Dec 18, 2024 · 1 comment
Open

Unnecessarily verbose deprecation message #3959

piefel opened this issue Dec 18, 2024 · 1 comment

Comments

@piefel
Copy link

piefel commented Dec 18, 2024

After upgrading to Dokka Gradle plugin 2.0.0, each and every Gradle run gives me a dozen lines about the deprecation of the plugin V1. While I appreciate the warning, it is overly verbose. Also, the V2 is experimental – not everyone is prepared to do this.

@whyoleg
Copy link
Contributor

whyoleg commented Dec 20, 2024

Hey!
Sorry about that. You can disable this warning by adding following flag to gradle.properties:

org.jetbrains.dokka.experimental.gradle.pluginMode.nowarn=true

Though, I would not recommend to just add it and forget about it, as we are planning to enable DGPv2 by default in future releases, and later drop DGPv1 support completely - DGPv2 will be the only one plugin in future.

the V2 is experimental

V2 plugin should work fine for all projects, it was battle tested as Dokkatoo, and additionally verified that it works in similar way as DGPv1 with different projects.
We don't expect big API or behavior changes, mostly stabilization and fixing edge-cases. And sooner we will get feedback about it, the easier it will be for everyone in future when DGPv2 will be the only Dokka Gradle Plugin.

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

No branches or pull requests

2 participants