The Carnival Gradle Plugin facilitates the inclusion of Carnival in an application built by Gradle by adding a consistent set of dependencies.
The plugin can be built from source and deployed to your local maven repository by:
./gradlew :carnival-gradle:publishToMavenLocal
To use the plugin, add something like the following to build.gradle
:
buildscript {
repositories {
mavenLocal()
}
dependencies {
classpath group:'io.github.carnival-data', name:'carnival-gradle', version:'0.2.7'
}
}
apply plugin: 'carnival.application'