Enable Dafny support in Gradle #3169
Labels
area: build-system
Support for dependencies in Dafny, generation of target language build files
kind: enhancement
Enhancements, feature requests, etc. These are NOT bugs, but ways we can improve Dafny
Milestone
Summary
Gradle allows creating complicated build setups for multiple languages, which is great for Dafny since Dafny customers may often want to trigger builds in languages other than Dafny as well.
Background and Motivation
_
Proposed Feature
Create a Dafny plugin for Gradle that exposes various Dafny commands, such as verify and translate, inside Gradle. The plugin will use the Gradle specification to generate a Dafny project file, and invoke the Dafny CLI on that. This way, Dafny IDEs that depend on a Dafny project file can also make use of this Gradle plugin.
By using the generated sources as input sources for compiling Gradle tasks, users can setup Java or .NET builds that depend on Dafny sources.
Examples
The resulting
build.gradle
could look something like this:Alternatives
No response
The text was updated successfully, but these errors were encountered: