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

java only project check #160

Open
chameleon82 opened this issue Dec 13, 2023 · 2 comments
Open

java only project check #160

chameleon82 opened this issue Dec 13, 2023 · 2 comments
Labels

Comments

@chameleon82
Copy link

I have multi-module gradle project for java libraries and would like to use plugin for compatibility-check. However, all my modules use plugins { java-library } and checker tasks unavailable until I will add kotlin("jvm") plugin.

Is there any way to configure plugin with no kotlin sources?

@fzhinkin
Copy link
Collaborator

@chameleon82 at the moment, BCV could be only configured for projects where one of Kotlin plugins was applied (jvm, multiplatform, or kotlin-android).

As a quick and dirty workaround, you may check how Kotlin stdlib use BCV:
https://github.com/JetBrains/kotlin/blob/master/libraries/tools/binary-compatibility-validator/src/test/kotlin/org.jetbrains.kotlin.tools.tests/RuntimePublicAPITest.kt

@fzhinkin fzhinkin added the gradle label Apr 9, 2024
@fzhinkin
Copy link
Collaborator

fzhinkin commented Apr 9, 2024

Related: #94

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants