java only project check
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?
@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
Related: #94
As part of the migration of separate BCV functionality to Kotlin Gradle Plugin, the addition of new features to a separate plugin has been discontinued.
Using the dependency described in task, you can write your own code that will validate binary compatibility in JVM only projects.