Package org.bmc4j.gradle
Class BmcPlugin
java.lang.Object
org.bmc4j.gradle.BmcPlugin
- All Implemented Interfaces:
org.gradle.api.Plugin<org.gradle.api.Project>
Wires bounded model checking into a JVM project. Applying it is all a consumer
needs:
plugins { id("org.bmc4j") }
It then:
- adds the
bmc-runtime(@BmcProof,Bmc) and JUnit 5 totestImplementation; - adds the
bmc-engine-<platform>jar — the JBMC binary bundled as an ordinary, integrity-verified dependency — totestRuntimeOnly(no download at test time); - runs proofs as part of the normal
testtask.
bmc { jbmcPath = "..." } to use a local binary instead of the bundled engine.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
BmcPlugin
public BmcPlugin()
-
-
Method Details
-
apply
public void apply(org.gradle.api.Project project) - Specified by:
applyin interfaceorg.gradle.api.Plugin<org.gradle.api.Project>
-